diff --git a/collections/requirements.yml b/collections/requirements.yml new file mode 100644 index 0000000..6c4fe7b --- /dev/null +++ b/collections/requirements.yml @@ -0,0 +1,4 @@ +--- +collections: + - name: community.general + version: ">=6.0.0" # Es ist eine gute Praxis, eine Mindestversion anzugeben diff --git a/roles/podman/tasks/main.yml b/roles/podman/tasks/main.yml index b3c39c0..529d516 100644 --- a/roles/podman/tasks/main.yml +++ b/roles/podman/tasks/main.yml @@ -1,12 +1,6 @@ --- # tasks file for roles/podman -- name: Ensure Ansible community.general collection is installed - ansible.builtin.command: ansible-galaxy collection install community.general - changed_when: false - # This is necessary to use the community.general.podman_container module. - # We set changed_when: false because the command itself reports changes, but we manage idempotency at the task level. - - name: Ensure NFS client utilities are installed ansible.builtin.apt: name: nfs-common