add log01 host

This commit is contained in:
Timo Makinen 2019-07-19 17:20:15 +03:00
parent 7088bc9b14
commit afd81c714c
4 changed files with 35 additions and 0 deletions

24
playbooks/log.yml Normal file
View file

@ -0,0 +1,24 @@
---
- import_playbook: "include/vm-create.yml myhosts=log"
- name: configure instance
hosts: log
user: root
gather_facts: true
pre_tasks:
- name: mount /export
mount:
name: /export
src: /dev/sd1a
fstype: ffs
opts: rw,softdep,noatime
passno: 1
dump: 2
state: mounted
vars_files:
- /srv/ansible-private/vars.yml
roles:
- base