add adm01.home.foo.sh

Temporarily running in vmhost02
This commit is contained in:
Timo Makinen 2020-08-26 23:26:00 +03:00
parent f05112b125
commit eb92f9f7bd
4 changed files with 41 additions and 0 deletions

25
playbooks/adm.yml Normal file
View file

@ -0,0 +1,25 @@
---
- import_playbook: "include/vm-create.yml myhosts=adm01.home.foo.sh"
- name: configure instance
hosts: adm
user: root
gather_facts: true
vars_files:
- /srv/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
- ansible-host