Try both all and localhost.
This commit is contained in:
parent
f2ac8883e1
commit
5de330d8c0
11
local.yml
11
local.yml
@ -2,7 +2,8 @@
|
|||||||
# Harmonize my systems rather than doing everything manually. :)
|
# Harmonize my systems rather than doing everything manually. :)
|
||||||
|
|
||||||
# Everything
|
# Everything
|
||||||
- hosts: localhost
|
- name: Initial Setup
|
||||||
|
hosts: all, localhost
|
||||||
connection: local
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
@ -19,7 +20,9 @@
|
|||||||
|
|
||||||
|
|
||||||
# Desktops and laptops
|
# Desktops and laptops
|
||||||
- hosts: workstation
|
- name: UI Setup
|
||||||
|
hosts: workstation
|
||||||
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
@ -27,7 +30,9 @@
|
|||||||
|
|
||||||
|
|
||||||
# Run hardness checks
|
# Run hardness checks
|
||||||
- hosts: all
|
- name: Hardening Check
|
||||||
|
hosts: all, localhost
|
||||||
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user