Remove period from set variable names.

This commit is contained in:
Hyperling 2020-12-28 20:10:53 -06:00
parent f1f70e3e27
commit ae67a56d67
2 changed files with 8 additions and 8 deletions

View File

@ -3,20 +3,20 @@
- name: Set Pop!_OS Package Names
ansible.builtin.set_fact:
package_name.firefox: firefox
package_name.thunderbird: thunderbird
firefox: firefox
thunderbird: thunderbird
when: ansible_distribution == "Pop!_OS"
- name: Set Ubuntu Package Names
ansible.builtin.set_fact:
package_name.firefox: firefox
package_name.thunderbird: thunderbird
firefox: firefox
thunderbird: thunderbird
when: ansible_distribution == "Ubuntu"
- name: Set FreeBSD Package Names
ansible.builtin.set_fact:
package_name.firefox: firefox
package_name.thunderbird: thunderbird
firefox: firefox
thunderbird: thunderbird
when: ansible_distribution == "FreeBSD"

View File

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