add git host group

This commit is contained in:
Timo Makinen 2019-05-17 11:39:04 +03:00
parent 3a6ceec53c
commit a283444443
4 changed files with 41 additions and 0 deletions

26
playbooks/git.yml Normal file
View file

@ -0,0 +1,26 @@
---
- import_playbook: "include/vm-create.yml myhosts=git02.home.foo.sh"
- name: configure instance
hosts: git
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: 1
dump: 0
state: mounted
roles:
- base
- git/client
- git/server