feat: remove deprecated shell scripts and add Python alternatives for all of them
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
@@ -2,21 +2,6 @@
|
||||
hosts: all
|
||||
gather_facts: true
|
||||
|
||||
pre_tasks:
|
||||
- name: Check if community.general collection is installed
|
||||
ansible.builtin.command: ansible-galaxy collection list community.general
|
||||
register: collection_check
|
||||
changed_when: false
|
||||
ignore_errors: true
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Install required collections
|
||||
ansible.builtin.command: ansible-galaxy collection install -r "{{ playbook_dir }}/requirements.yml"
|
||||
delegate_to: localhost
|
||||
when: collection_check.rc != 0 or "community.general" not in collection_check.stdout
|
||||
changed_when: collection_check.rc != 0 or "community.general" not in collection_check.stdout
|
||||
run_once: true
|
||||
|
||||
tasks:
|
||||
- name: Include global tasks
|
||||
ansible.builtin.import_tasks: tasks/global/global.yml
|
||||
|
||||
Reference in New Issue
Block a user