Add sshsign hosts

This commit is contained in:
Timo Makinen 2021-09-26 13:15:27 +00:00
parent d516a33079
commit 893a1c5417
5 changed files with 49 additions and 1 deletions

6
group_vars/sshsign.yml Normal file
View file

@ -0,0 +1,6 @@
---
datadisks:
- 10
firewall_in:
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
- {proto: tcp, port: 443}

View file

@ -0,0 +1,6 @@
---
vmhost: vmhost01.home.foo.sh
network_interfaces:
- device: vio0
vlan: 20
mac: 52:54:00:ac:dc:5b

View 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
View file

@ -72,6 +72,10 @@ shell02.foo.sh
[sqldb] [sqldb]
sqldb02.home.foo.sh sqldb02.home.foo.sh
[sshsign]
sshsign01.home.foo.sh
sshsign02.home.foo.sh
[static] [static]
static01.home.foo.sh static01.home.foo.sh
static02.home.foo.sh static02.home.foo.sh
@ -101,6 +105,7 @@ ns
proxy proxy
relay relay
shell shell
sshsign
static static
zm zm
@ -121,8 +126,8 @@ vmhost
zm zm
[centos7:children] [centos7:children]
ldap
collab collab
ldap
[fedora:children] [fedora:children]
registry registry
@ -135,3 +140,4 @@ log
ns ns
proxy proxy
relay relay
sshsign

24
playbooks/sshsign.yml Normal file
View 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