Move when's back to include's.

This commit is contained in:
Hyperling 2021-01-31 14:25:54 -06:00
parent cb126dcc0b
commit acdff063e8

View File

@ -26,20 +26,20 @@
hosts: workstation hosts: workstation
connection: local connection: local
become: true become: true
when: ansible_distribution != "FreeBSD"
tasks: tasks:
- include: tasks/flatpaks.yml - include: tasks/flatpaks.yml
when: ansible_distribution != "FreeBSD"
# FreeBSD Desktops and laptops # FreeBSD Desktops and laptops
- name: FreeBSD UI Setup - name: FreeBSD UI Setup
hosts: workstation hosts: workstation
connection: local connection: local
become: true become: true
when: ansible_distribution == "FreeBSD"
tasks: tasks:
- include: tasks/freebsd_gui.yml - include: tasks/freebsd_gui.yml
when: ansible_distribution == "FreeBSD"
# Run hardness checks # Run hardness checks