Split UI into Linux vs FreeBSD to avoid "local.yml, line 25, column 3, found a duplicate dict key
(tasks). Using last defined value only."
This commit is contained in:
parent
ea096c01fe
commit
cb126dcc0b
16
local.yml
16
local.yml
@ -21,20 +21,26 @@
|
||||
ignore_errors: yes
|
||||
|
||||
|
||||
# Desktops and laptops
|
||||
# Linux Desktops and laptops
|
||||
- name: UI Setup
|
||||
hosts: workstation
|
||||
connection: local
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- include: tasks/flatpaks.yml
|
||||
when: ansible_distribution != "FreeBSD"
|
||||
|
||||
tasks:
|
||||
- include: tasks/freebsd_gui.yml
|
||||
- include: tasks/flatpaks.yml
|
||||
|
||||
# FreeBSD Desktops and laptops
|
||||
- name: FreeBSD UI Setup
|
||||
hosts: workstation
|
||||
connection: local
|
||||
become: true
|
||||
when: ansible_distribution == "FreeBSD"
|
||||
|
||||
tasks:
|
||||
- include: tasks/freebsd_gui.yml
|
||||
|
||||
|
||||
# Run hardness checks
|
||||
- name: Hardening Check
|
||||
|
Loading…
x
Reference in New Issue
Block a user