Necessary to force a pull in this repo.
This commit is contained in:
parent
27c5517462
commit
d44fc16d28
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
vars:
|
vars:
|
||||||
tempdir: /var/tmp/badges-tempdir
|
tempdir: /var/tmp/badges-tempdir
|
||||||
upstream: "https://git.fedorahosted.org/cgit/badges.git"
|
upstream: "https://git.fedorahosted.org/cgit/badges.git"
|
||||||
|
workingdir: /srv/web/infra/badges/
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: clone the local bare repo
|
- name: clone the local bare repo
|
||||||
|
@ -37,6 +38,9 @@
|
||||||
- name: clean up that temporary {{tempdir}} dir
|
- name: clean up that temporary {{tempdir}} dir
|
||||||
file: dest={{tempdir}} state=absent
|
file: dest={{tempdir}} state=absent
|
||||||
|
|
||||||
|
- name: and pull those commits from the bare repo to the working dir
|
||||||
|
command: git pull origin master chdir={{workingdir}}
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue