moved package declaration to variables

This commit is contained in:
Bertrand Lanson 2023-04-06 21:29:57 +02:00
parent 4f4245c817
commit 4fc3632094
2 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,4 @@
ansible.builtin.include_role:
name: ednxzu.manage_apt_packages
vars:
manage_apt_packages_list:
- name: neofetch
version: latest
state: present
manage_apt_packages_list: "{{ update_motd_packages }}"

View File

@ -2,3 +2,7 @@
# vars file for update_motd
update_motd_path: "/etc/update-motd.d"
update_motd_config_path: "/etc/profile.d"
update_motd_packages:
- name: neofetch
version: latest
state: present