fix: Install ansible collections to project-specific path

This commit is contained in:
Tobias J. Endres 2025-09-02 20:41:39 +02:00
parent c9ad97aace
commit e8d7a878ec

View File

@ -5,10 +5,10 @@
ansible_python_interpreter: /usr/bin/python3
pre_tasks:
- name: Install linux.system_roles collection
ansible.builtin.command: ansible-galaxy collection install linux.system_roles
ansible.builtin.command: ansible-galaxy collection install linux.system_roles -p ./collections
args:
creates: ~/.ansible/collections/ansible_collections/linux/system_roles
creates: ./collections/ansible_collections/linux/system_roles
roles:
- common
- linux.system_roles.podman # Use the new podman role
- network
- network