Add moin host group

This commit is contained in:
Timo Makinen 2020-08-28 10:41:27 +00:00
parent 5c62106142
commit fbc8fa55c5
4 changed files with 41 additions and 0 deletions

24
playbooks/moin.yml Normal file
View file

@ -0,0 +1,24 @@
---
- import_playbook: "include/vm-create.yml myhosts=moin01.home.foo.sh"
- name: configure instance
hosts: moin
user: root
gather_facts: true
vars_files:
- "{{ ansible_private }}/vars.yml"
pre_tasks:
- name: mount /export
mount:
name: /export
src: LABEL=/export
fstype: xfs
opts: noatime,noexec,nosuid,nodev
passno: "0"
dump: "0"
state: mounted
roles:
- base