refactor: add pre-tasks for installing Ansible collections and improve final setup messages
All checks were successful
Nix Format Check / check-format (push) Successful in 37s

This commit is contained in:
2025-01-22 16:22:15 +01:00
parent 6ffb65fbc0
commit 35ffc77056
3 changed files with 13 additions and 5 deletions

View File

@ -2,6 +2,12 @@
hosts: all
gather_facts: true
pre_tasks:
- name: Install required collections
ansible.builtin.command: ansible-galaxy collection install -r requirements.yml
delegate_to: localhost
run_once: true
tasks:
- name: Include global tasks
ansible.builtin.import_tasks: tasks/global/global.yml

View File

@ -0,0 +1,4 @@
---
# Collections section
collections:
- community.general