Add sshsign hosts
This commit is contained in:
parent
d516a33079
commit
893a1c5417
5 changed files with 49 additions and 1 deletions
6
group_vars/sshsign.yml
Normal file
6
group_vars/sshsign.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
datadisks:
|
||||
- 10
|
||||
firewall_in:
|
||||
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
|
||||
- {proto: tcp, port: 443}
|
6
host_vars/sshsign01.home.foo.sh.yml
Normal file
6
host_vars/sshsign01.home.foo.sh.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
vmhost: vmhost01.home.foo.sh
|
||||
network_interfaces:
|
||||
- device: vio0
|
||||
vlan: 20
|
||||
mac: 52:54:00:ac:dc:5b
|
6
host_vars/sshsign02.home.foo.sh.yml
Normal file
6
host_vars/sshsign02.home.foo.sh.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
vmhost: vmhost02.home.foo.sh
|
||||
network_interfaces:
|
||||
- device: vio0
|
||||
vlan: 20
|
||||
mac: 52:54:00:ac:dc:5c
|
8
hosts
8
hosts
|
@ -72,6 +72,10 @@ shell02.foo.sh
|
|||
[sqldb]
|
||||
sqldb02.home.foo.sh
|
||||
|
||||
[sshsign]
|
||||
sshsign01.home.foo.sh
|
||||
sshsign02.home.foo.sh
|
||||
|
||||
[static]
|
||||
static01.home.foo.sh
|
||||
static02.home.foo.sh
|
||||
|
@ -101,6 +105,7 @@ ns
|
|||
proxy
|
||||
relay
|
||||
shell
|
||||
sshsign
|
||||
static
|
||||
zm
|
||||
|
||||
|
@ -121,8 +126,8 @@ vmhost
|
|||
zm
|
||||
|
||||
[centos7:children]
|
||||
ldap
|
||||
collab
|
||||
ldap
|
||||
|
||||
[fedora:children]
|
||||
registry
|
||||
|
@ -135,3 +140,4 @@ log
|
|||
ns
|
||||
proxy
|
||||
relay
|
||||
sshsign
|
||||
|
|
24
playbooks/sshsign.yml
Normal file
24
playbooks/sshsign.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
- import_playbook: "include/deploy-kvm-guest.yml myhosts=sshsign"
|
||||
|
||||
- name: configure instance
|
||||
hosts: sshsign
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
||||
vars_files:
|
||||
- "{{ ansible_private }}/vars.yml"
|
||||
|
||||
pre_tasks:
|
||||
- name: mount /export
|
||||
mount:
|
||||
name: /export
|
||||
src: /dev/sd1a
|
||||
fstype: ffs
|
||||
opts: rw,softdep,noatime
|
||||
passno: "1"
|
||||
dump: "2"
|
||||
state: mounted
|
||||
|
||||
roles:
|
||||
- base
|
Loading…
Add table
Add a link
Reference in a new issue