Try to use set_fact for package names.

This commit is contained in:
Hyperling
2020-12-28 20:06:41 -06:00
parent b68f002e5b
commit 8eede3226b
4 changed files with 33 additions and 17 deletions

View File

@ -13,8 +13,8 @@
- name: Remove packages that may come with an OS but are being installed as Flatpak
package:
name:
- {{ firefox[ansible_distribution] }}
- {{ thunderbird[ansible_distribution] }}
- {{ package_name.firefox }}
- {{ package_name.thunderbird }}
state: absent
- name: Install Discord