Add static host group
This commit is contained in:
parent
09a6bcce84
commit
c6ea27bf2d
5 changed files with 36 additions and 0 deletions
21
playbooks/static.yml
Normal file
21
playbooks/static.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue