Add vmhost02.home.foo.sh
This commit is contained in:
parent
aac14db657
commit
0ae634aed2
3 changed files with 18 additions and 0 deletions
3
group_vars/vmhost.yml
Normal file
3
group_vars/vmhost.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
firewall_in:
|
||||||
|
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
|
4
hosts
4
hosts
|
@ -24,8 +24,12 @@ log01.home.foo.sh
|
||||||
proxy01.home.foo.sh
|
proxy01.home.foo.sh
|
||||||
proxy02.home.foo.sh
|
proxy02.home.foo.sh
|
||||||
|
|
||||||
|
[vmhost]
|
||||||
|
vmhost02.home.foo.sh
|
||||||
|
|
||||||
[centos8:children]
|
[centos8:children]
|
||||||
adm
|
adm
|
||||||
|
vmhost
|
||||||
|
|
||||||
[centos7:children]
|
[centos7:children]
|
||||||
git
|
git
|
||||||
|
|
11
playbooks/vmhost.yml
Normal file
11
playbooks/vmhost.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
- name: configure instance
|
||||||
|
hosts: vmhost
|
||||||
|
user: root
|
||||||
|
gather_facts: true
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- "{{ ansible_private }}/vars.yml"
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- base
|
Loading…
Add table
Add a link
Reference in a new issue