Also, only those hosts that use ansible-pull should pull the repo to /etc/ansible

This commit is contained in:
Salt 2021-08-01 15:07:02 -05:00
parent 79220bef76
commit ce034d28b0
2 changed files with 6 additions and 6 deletions

View File

@ -13,6 +13,12 @@
roles:
- role: ansible-pull
tags: [ ansible, desktop ]
- role: git
vars:
git_repos:
- repo: "{{ ansible_pull_repo }}"
dest: /etc/ansible
tags: [ ansible, git, desktop ]
- role: backup
vars:
backup_s3backup_tar_args_extra: h

View File

@ -22,12 +22,6 @@
UsePAM: yes
X11Forwarding: no
tags: [ sshd, common ]
- role: git
vars:
git_repos:
- repo: "{{ ansible_pull_repo }}"
dest: /etc/ansible
tags: [ ansible, git, common ]
# Import specific playbooks
- import_playbook: playbooks/db.yml
- import_playbook: playbooks/web.yml