Add static host group

This commit is contained in:
Timo Makinen 2020-09-09 18:29:05 +00:00
parent 09a6bcce84
commit c6ea27bf2d
5 changed files with 36 additions and 0 deletions

21
playbooks/static.yml Normal file
View file

@ -0,0 +1,21 @@
---
- import_playbook: "include/deploy-kvm-guest.yml myhosts=static"
- name: configure instance
hosts: static
user: root
gather_facts: true
vars_files:
- "{{ ansible_private }}/vars.yml"
roles:
- base
- role: kerberos/keytab
principals:
- "host/{{ inventory_hostname }}@FOO.SH"
- "nfs/{{ inventory_hostname }}@FOO.SH"
- nfs-client
- ldap/nss
- autofs
- apache