add log01 host
This commit is contained in:
parent
7088bc9b14
commit
afd81c714c
4 changed files with 35 additions and 0 deletions
24
playbooks/log.yml
Normal file
24
playbooks/log.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue