add git repo local clones to other hosts

by JIMz

1 min read

1. add url to repo ( according to .git/config ) and local destination file path

  • target file : set-facts-repo.yaml
  • file path : [ansible-repo-root]/etc/playbooks/roles/maintenance/tasks/git/tasks

2. add the above facts to the git pull loop

  • target file : git-pull.yaml
  • file path : [ansible-repo-root]/etc/playbooks/roles/maintenance/tasks/git