Add vmhost02.home.foo.sh

This commit is contained in:
Timo Makinen 2020-08-29 15:55:16 +00:00
parent aac14db657
commit 0ae634aed2
3 changed files with 18 additions and 0 deletions

3
group_vars/vmhost.yml Normal file
View file

@ -0,0 +1,3 @@
---
firewall_in:
- {proto: tcp, port: 22, from: [172.20.20.0/22]}

4
hosts
View file

@ -24,8 +24,12 @@ log01.home.foo.sh
proxy01.home.foo.sh
proxy02.home.foo.sh
[vmhost]
vmhost02.home.foo.sh
[centos8:children]
adm
vmhost
[centos7:children]
git

11
playbooks/vmhost.yml Normal file
View file

@ -0,0 +1,11 @@
---
- name: configure instance
hosts: vmhost
user: root
gather_facts: true
vars_files:
- "{{ ansible_private }}/vars.yml"
roles:
- base