Blob Blame History Raw
---
- name: "podman-remote | install"
  dnf: name="podman-remote" state=installed
  when: podman_bin == "podman-remote"

- include_role:
    name: run_bats_tests
  vars:
    tests:
    # Yes, this is horrible duplication, but trying to refactor in ansible
    # yields even more horrible unreadable code. This is the lesser evil.
    - name: "{{ podman_bin }} root"
      package: podman
      environment:
        PODMAN: /usr/bin/{{ podman_bin }}
        QUADLET: /usr/libexec/podman/quadlet
    - name: "{{ podman_bin }} rootless"
      package: podman
      environment:
        PODMAN: /usr/bin/{{ podman_bin }}
        QUADLET: /usr/libexec/podman/quadlet
      become: true