Service name facts are working now too. Now testing if the "{{ }}" syntax is necessary for facts.
This commit is contained in:
parent
021730c90c
commit
79a6204d51
@ -1,2 +1,4 @@
|
||||
# ansible
|
||||
Getting real with my system management using ansible-pull.
|
||||
|
||||
This setup is specific for my devices and my needs. You're welcome to use it as an example for your needs, but do not expect it to work as-is.
|
@ -8,6 +8,7 @@
|
||||
when: ansible_distribution == "Pop!_OS"
|
||||
|
||||
|
||||
# TODO Needs tested
|
||||
- name: Set Ubuntu Package Names
|
||||
ansible.builtin.set_fact:
|
||||
firefox: firefox
|
||||
@ -15,6 +16,7 @@
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
|
||||
|
||||
# TODO Needs tested
|
||||
- name: Set FreeBSD Package Names
|
||||
ansible.builtin.set_fact:
|
||||
firefox: firefox
|
||||
|
@ -10,6 +10,7 @@
|
||||
when: ansible_distribution == "Pop!_OS"
|
||||
|
||||
|
||||
# TODO Needs tested
|
||||
- name: Set Ubuntu Service Names
|
||||
ansible.builtin.set_fact:
|
||||
cups: cups
|
||||
@ -19,6 +20,7 @@
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
|
||||
|
||||
# TODO Needs tested
|
||||
- name: Set FreeBSD Service Names
|
||||
ansible.builtin.set_fact:
|
||||
cups: cups
|
||||
|
@ -1,4 +1,5 @@
|
||||
- name: Install Flatpak TODO! Make only for workstations
|
||||
# Pre-reqs
|
||||
- name: Install Flatpak
|
||||
package:
|
||||
name: flatpak
|
||||
update_cache: yes
|
||||
@ -31,6 +32,6 @@
|
||||
- name: Remove packages that may come with an OS but were just installed as Flatpak
|
||||
package:
|
||||
name:
|
||||
- "{{ firefox }}"
|
||||
- "{{ thunderbird }}"
|
||||
- firefox
|
||||
- thunderbird
|
||||
state: absent
|
Loading…
x
Reference in New Issue
Block a user