Add network infrastructure
Add network group for filtering network hosts Add network target for auth'ing to network hosts Update playbooks to filter out network targets
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Bootstrap remote ansible environment
|
||||
hosts: all
|
||||
hosts: all,!network,!network
|
||||
tags:
|
||||
- always
|
||||
tasks:
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
|
||||
- name: Configure common server settings
|
||||
hosts: all
|
||||
hosts: all,!network
|
||||
vars_files:
|
||||
- vars/packages.yaml
|
||||
tasks:
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
|
||||
- name: Configure SSH
|
||||
hosts: all
|
||||
hosts: all,!network
|
||||
handlers:
|
||||
- name: restart-sshd
|
||||
become: true
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Update system
|
||||
hosts: all
|
||||
hosts: all,!network
|
||||
tags:
|
||||
- packages
|
||||
vars_files:
|
||||
@@ -14,7 +14,7 @@
|
||||
state: latest
|
||||
|
||||
- name: Update unix accounts
|
||||
hosts: all
|
||||
hosts: all,!network
|
||||
tags:
|
||||
- accounts
|
||||
- access
|
||||
|
Reference in New Issue
Block a user