Clone Ansible repo locally to machines

This commit is contained in:
Salt 2020-10-08 20:24:09 -05:00
parent 79fbe455e3
commit f408c59c02

View File

@ -44,4 +44,9 @@
src: ansiblekey src: ansiblekey
dest: ~/.ssh/ansible dest: ~/.ssh/ansible
mode: "0600" mode: "0600"
- name: Clone Ansible repo
git:
dest: /etc/ansible
repo: "{{ ansible_pull_repo }}"
force: yes
become: true become: true