1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- - yum: name: - git state: installed - file: dest: "{{ checkout_dest }}" state: directory - git: repo: "{{ git_repo }}" dest: "{{ checkout_dest }}" - cron: name: "{{ git_repo }} autoupdate" hour: "*" job: "cd {{ checkout_dest }} ; git pull --rebase -q ; cp -f -R {{ subdir }} {{ destination }}"