removed meta deps, added task to install dependencies
This commit is contained in:
parent
4fc3632094
commit
b3ba09b9fb
@ -1,4 +0,0 @@
|
||||
---
|
||||
# meta file for update_motd
|
||||
roles:
|
||||
- name: ednxzu.manage_apt_packages
|
@ -1,5 +1,8 @@
|
||||
---
|
||||
# task/main file for update_motd
|
||||
- name: "Import prerequisites.yml"
|
||||
ansible.builtin.include_tasks: prerequisites.yml
|
||||
|
||||
- name: "Import install.yml"
|
||||
ansible.builtin.include_tasks: install.yml
|
||||
|
||||
|
9
tasks/prerequisites.yml
Normal file
9
tasks/prerequisites.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
# task/prerequisites file for update_motd
|
||||
- name: "Install required roles"
|
||||
ansible.builtin.command:
|
||||
cmd: "ansible-galaxy install {{ item }}"
|
||||
loop: "{{ update_motd_prerequisites_roles }}"
|
||||
changed_when: false
|
||||
delegate_to: localhost
|
||||
run_once: true
|
@ -1,5 +1,7 @@
|
||||
---
|
||||
# vars file for update_motd
|
||||
update_motd_prerequisites_roles:
|
||||
- ednxzu.manage_apt_packages
|
||||
update_motd_path: "/etc/update-motd.d"
|
||||
update_motd_config_path: "/etc/profile.d"
|
||||
update_motd_packages:
|
||||
|
Loading…
Reference in New Issue
Block a user