Ensure an up-to-date Ansible repo on all boxes
This commit is contained in:
parent
208f4ec836
commit
f8d075da22
6
site.yml
6
site.yml
@ -8,6 +8,12 @@
|
|||||||
tags: [ common ]
|
tags: [ common ]
|
||||||
- role: ansible-pull
|
- role: ansible-pull
|
||||||
tags: [ ansible, common ]
|
tags: [ ansible, common ]
|
||||||
|
- role: git
|
||||||
|
vars:
|
||||||
|
git_repos:
|
||||||
|
- repo: "{{ ansible_pull_repo }}"
|
||||||
|
dest: /etc/ansible
|
||||||
|
tags: [ ansible, git, common ]
|
||||||
# Import specific playbooks
|
# Import specific playbooks
|
||||||
- hosts: prod
|
- hosts: prod
|
||||||
vars_files:
|
vars_files:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user