This commit is contained in:
11
ansible/roles/bootstrap/tasks/dependencies.yml
Normal file
11
ansible/roles/bootstrap/tasks/dependencies.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- name: Create folder structure
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/x
|
||||
|
||||
- name: Install ansible-galaxy collection
|
||||
ansible.builtin.shell:
|
||||
cmd: "ansible-galaxy collection install {{ item }}"
|
||||
loop: "{{ dependencies.ansible_galaxy_collections }}"
|
2
ansible/roles/bootstrap/tasks/main.yml
Normal file
2
ansible/roles/bootstrap/tasks/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
- name: XYZ
|
||||
import_tasks: foo.yml
|
Reference in New Issue
Block a user