add first ldap host

This commit is contained in:
Timo Makinen 2019-05-28 20:32:16 +03:00
parent faaddffce4
commit 7f284a8e24
4 changed files with 44 additions and 0 deletions

24
playbooks/ldap.yml Normal file
View file

@ -0,0 +1,24 @@
---
- import_playbook: "include/vm-create.yml myhosts=ldap"
- name: configure instance
hosts: ldap
user: root
gather_facts: true
pre_tasks:
- name: mount /export
mount:
name: /export
src: LABEL=/export
fstype: xfs
opts: noatime,noexec,nosuid,nodev
passno: 1
dump: 0
state: mounted
vars_files:
- /srv/ansible-private/vars.yml
roles:
- base