Fix dash in variable name. Update hosts file. Better names in local.
This commit is contained in:
parent
2951b687ae
commit
bb242098db
@ -5,7 +5,7 @@
|
|||||||
- name: Facts | Workstation | Package | Pop OS
|
- name: Facts | Workstation | Package | Pop OS
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox
|
firefox: firefox
|
||||||
firefox-esr: firefox-esr
|
firefox_esr: firefox-esr
|
||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
when: ansible_distribution == "Pop!_OS"
|
when: ansible_distribution == "Pop!_OS"
|
||||||
@ -14,7 +14,7 @@
|
|||||||
- name: Facts | Workstation | Package | Debian and Ubuntu
|
- name: Facts | Workstation | Package | Debian and Ubuntu
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox
|
firefox: firefox
|
||||||
firefox-esr: firefox-esr
|
firefox_esr: firefox-esr
|
||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
when: ansible_distribution in ("Debian","Ubuntu")
|
when: ansible_distribution in ("Debian","Ubuntu")
|
||||||
@ -23,7 +23,7 @@
|
|||||||
- name: Facts | Workstation | Package | FreeBSD
|
- name: Facts | Workstation | Package | FreeBSD
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox
|
firefox: firefox
|
||||||
firefox-esr: firefox-esr
|
firefox_esr: firefox-esr
|
||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
4
hosts
4
hosts
@ -1,7 +1,5 @@
|
|||||||
[everything]
|
|
||||||
localhost
|
|
||||||
|
|
||||||
[workstation]
|
[workstation]
|
||||||
x570
|
x570
|
||||||
|
freeboy
|
||||||
dell-laptop
|
dell-laptop
|
||||||
usb
|
usb
|
@ -2,7 +2,7 @@
|
|||||||
# Harmonize my systems rather than doing everything manually. :)
|
# Harmonize my systems rather than doing everything manually. :)
|
||||||
|
|
||||||
# Everything
|
# Everything
|
||||||
- name: Initial Setup
|
- name: Main | Default Setup
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Workstations
|
# Workstations
|
||||||
- name: UI Setup
|
- name: Main | Workstation UI Setup
|
||||||
hosts: workstation
|
hosts: workstation
|
||||||
connection: local
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Run Hardness Checks
|
# Run Hardness Checks
|
||||||
- name: Hardening Check
|
- name: Main | Hardness Checks
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
name:
|
name:
|
||||||
- xorg
|
- xorg
|
||||||
- gnome3
|
- gnome3
|
||||||
- "{{ firefox-esr }}"
|
- "{{ firefox_esr }}"
|
||||||
- "{{ thunderbird }}"
|
- "{{ thunderbird }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- "{{ firefox }}"
|
- "{{ firefox }}"
|
||||||
- "{{ firefox-esr }}"
|
- "{{ firefox_esr }}"
|
||||||
- "{{ thunderbird }}"
|
- "{{ thunderbird }}"
|
||||||
- "{{ evolution }}"
|
- "{{ evolution }}"
|
||||||
state: absent
|
state: absent
|
Loading…
x
Reference in New Issue
Block a user