---
# 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
