add git host group
This commit is contained in:
parent
3a6ceec53c
commit
a283444443
4 changed files with 41 additions and 0 deletions
26
playbooks/git.yml
Normal file
26
playbooks/git.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue