You've already forked ansible-linux-infra
initial commit
This commit is contained in:
25
inventories/production/hosts.ini
Normal file
25
inventories/production/hosts.ini
Normal file
@@ -0,0 +1,25 @@
|
||||
; Example inventory - update hostnames/IPs before first run.
|
||||
; Naming scheme: <site-prefix>-<function-code><5-digit-number>, e.g. GS-AP00015.
|
||||
; Groups may contain a mix of Rocky/RHEL and Ubuntu/Debian hosts - all roles
|
||||
; detect the OS family automatically (ansible_facts['os_family']).
|
||||
|
||||
[linux_internal]
|
||||
GS-AP00021 ansible_host=10.10.20.11
|
||||
GS-AP00022 ansible_host=10.10.20.12
|
||||
|
||||
[linux_dmz]
|
||||
GS-AP00031 ansible_host=10.10.99.11
|
||||
GS-AP00032 ansible_host=10.10.99.12
|
||||
|
||||
; Group "dmz" is used by group_vars/dmz.yml (CIS Level 2, stricter firewall)
|
||||
[dmz:children]
|
||||
linux_dmz
|
||||
|
||||
; Umbrella group for all managed Linux servers
|
||||
[linux_all:children]
|
||||
linux_internal
|
||||
linux_dmz
|
||||
|
||||
[linux_all:vars]
|
||||
ansible_user=ansible_svc
|
||||
ansible_python_interpreter=/usr/bin/python3
|
||||
Reference in New Issue
Block a user