Add print01 host
This commit is contained in:
parent
c3c37d1b14
commit
027dfc2a48
4 changed files with 34 additions and 0 deletions
4
group_vars/print.yml
Normal file
4
group_vars/print.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
firewall_in:
|
||||||
|
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
|
||||||
|
- {proto: tcp, port: 443, from: [172.20.20.0/22]}
|
11
host_vars/print01.home.foo.sh.yml
Normal file
11
host_vars/print01.home.foo.sh.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
vmhost: vmhost01.home.foo.sh
|
||||||
|
network_interfaces:
|
||||||
|
- device: eth0
|
||||||
|
vlan: 20
|
||||||
|
mac: "52:54:00:ac:dc:1b"
|
||||||
|
- device: eth1
|
||||||
|
vlan: 24
|
||||||
|
ipaddr: 172.20.24.2
|
||||||
|
netmask: 255.255.255.0
|
||||||
|
proto: static
|
4
hosts
4
hosts
|
@ -42,6 +42,9 @@ ns01.home.foo.sh
|
||||||
ns02.home.foo.sh
|
ns02.home.foo.sh
|
||||||
atl01.vultr.foo.sh
|
atl01.vultr.foo.sh
|
||||||
|
|
||||||
|
[print]
|
||||||
|
print01.home.foo.sh
|
||||||
|
|
||||||
[proxy]
|
[proxy]
|
||||||
proxy01.home.foo.sh
|
proxy01.home.foo.sh
|
||||||
proxy02.home.foo.sh
|
proxy02.home.foo.sh
|
||||||
|
@ -69,6 +72,7 @@ mirror
|
||||||
munin
|
munin
|
||||||
nas
|
nas
|
||||||
nms
|
nms
|
||||||
|
print
|
||||||
shell
|
shell
|
||||||
static
|
static
|
||||||
vmhost
|
vmhost
|
||||||
|
|
15
playbooks/print.yml
Normal file
15
playbooks/print.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
- import_playbook: "include/deploy-kvm-guest.yml myhosts=print"
|
||||||
|
|
||||||
|
- name: configure instance
|
||||||
|
hosts: print
|
||||||
|
user: root
|
||||||
|
gather_facts: true
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- "{{ ansible_private }}/vars.yml"
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- base
|
||||||
|
- sssd
|
||||||
|
- mkhomedir
|
Loading…
Add table
Reference in a new issue