Add devel01.home.foo.sh host for dev purposes

This host is intended for development purposes and is not included
in default playbooks. Start with:

ansible-playbook playbooks/devel.yml -i hosts.devel
This commit is contained in:
Timo Makinen 2020-08-28 07:52:56 +00:00
parent 9532fa165e
commit 026e077fc7
3 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,6 @@
---
vmhost: vmhost02.home.foo.sh
network_interfaces:
- device: eth0
vlan: 20
mac: 52:54:00:ac:de:0b

5
hosts.devel Normal file
View file

@ -0,0 +1,5 @@
[devel]
devel01.home.foo.sh
[centos8:children]
devel

13
playbooks/devel.yml Normal file
View file

@ -0,0 +1,13 @@
---
- import_playbook: "include/vm-create.yml myhosts=devel01.home.foo.sh"
- name: configure instance
hosts: devel01.home.foo.sh
user: root
gather_facts: true
vars_files:
- "{{ ansible_private }}/vars.yml"
roles:
- base