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
|
# ansible
|
||||||
Getting real with my system management using ansible-pull.
|
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"
|
when: ansible_distribution == "Pop!_OS"
|
||||||
|
|
||||||
|
|
||||||
|
# TODO Needs tested
|
||||||
- name: Set Ubuntu Package Names
|
- name: Set Ubuntu Package Names
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
firefox: firefox
|
firefox: firefox
|
||||||
@ -15,6 +16,7 @@
|
|||||||
when: ansible_distribution == "Ubuntu"
|
when: ansible_distribution == "Ubuntu"
|
||||||
|
|
||||||
|
|
||||||
|
# TODO Needs tested
|
||||||
- name: Set FreeBSD Package Names
|
- name: Set FreeBSD Package Names
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
firefox: firefox
|
firefox: firefox
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
when: ansible_distribution == "Pop!_OS"
|
when: ansible_distribution == "Pop!_OS"
|
||||||
|
|
||||||
|
|
||||||
|
# TODO Needs tested
|
||||||
- name: Set Ubuntu Service Names
|
- name: Set Ubuntu Service Names
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
cups: cups
|
cups: cups
|
||||||
@ -19,6 +20,7 @@
|
|||||||
when: ansible_distribution == "Ubuntu"
|
when: ansible_distribution == "Ubuntu"
|
||||||
|
|
||||||
|
|
||||||
|
# TODO Needs tested
|
||||||
- name: Set FreeBSD Service Names
|
- name: Set FreeBSD Service Names
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
cups: cups
|
cups: cups
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
- name: Install Flatpak TODO! Make only for workstations
|
# Pre-reqs
|
||||||
|
- name: Install Flatpak
|
||||||
package:
|
package:
|
||||||
name: flatpak
|
name: flatpak
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
@ -31,6 +32,6 @@
|
|||||||
- name: Remove packages that may come with an OS but were just installed as Flatpak
|
- name: Remove packages that may come with an OS but were just installed as Flatpak
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- "{{ firefox }}"
|
- firefox
|
||||||
- "{{ thunderbird }}"
|
- thunderbird
|
||||||
state: absent
|
state: absent
|
Loading…
x
Reference in New Issue
Block a user