Allow choosing Github branch dynamically.

This commit is contained in:
2021-07-13 08:10:14 -05:00
parent bb4fabf833
commit 246e83a13a
3 changed files with 14 additions and 4 deletions

View File

@ -6,7 +6,7 @@
user: ansible
name: "Ansible Sync"
minute: "*/15"
job: "sudo {{ ansible_pull_exec.stdout }} -o -U https://github.com/Hyperling/ansible.git --checkout main"
job: "sudo {{ ansible_pull_exec.stdout }} -o -U https://github.com/Hyperling/ansible.git --checkout {{ branch }}"
state: present
disabled: no