ansible/roles/login-registry/tasks/main.yml
Clement Verna a4f9bcacc6 login-registry: use the docker config.json as authfile for backward compatibility
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00

12 lines
371 B
YAML

---
# tasks file for login-registry role
# This role is used to login to a registry using the
# podman client.
- name: install podman
package:
name: podman
state: present
- name: login into a registry
command: podman login {{candidate_registry}} -u {{candidate_registry_osbs_username}} -p {{candidate_registry_osbs_password}} --authfile .docker/config.json