29 lines
509 B
YAML
29 lines
509 B
YAML
---
|
|
- import_playbook: "include/deploy-kvm-guest.yml myhosts=git"
|
|
|
|
- name: configure instance
|
|
hosts: git
|
|
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: "1"
|
|
dump: "0"
|
|
state: mounted
|
|
|
|
roles:
|
|
- base
|
|
- git
|
|
- git_server
|
|
- sssd
|
|
- nfs_client
|
|
- autofs
|