Set facts is working! Now do the same for service names.

This commit is contained in:
Hyperling
2020-12-28 20:21:01 -06:00
parent ae67a56d67
commit 021730c90c
5 changed files with 42 additions and 12 deletions

View File

@ -10,13 +10,7 @@
method: system
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
- name: Remove packages that may come with an OS but are being installed as Flatpak
package:
name:
- "{{ firefox }}"
- "{{ thunderbird }}"
state: absent
# Hop into installs
- name: Install Discord
flatpak:
name: com.discordapp.Discord
@ -33,3 +27,10 @@
flatpak:
name: org.mozilla.Thunderbird
# Remove any applicable repo software
- name: Remove packages that may come with an OS but were just installed as Flatpak
package:
name:
- "{{ firefox }}"
- "{{ thunderbird }}"
state: absent

View File

@ -1,13 +1,13 @@
- name: Remove CUPS Daemon
service:
name: cups
pattern: cupsd
name: "{{ cups }}"
pattern: "{{ cups_pattern }}"
state: stopped
enabled: no
- name: Remove CUPS-Browse Daemon
service:
name: cups-browsed
pattern: cups-browsed
name: "{{ cups_browse }}"
pattern: "{{ cups_browse_pattern }}"
state: stopped
enabled: no