diff --git a/playbooks/manual/push-badges.yml b/playbooks/manual/push-badges.yml index d6b3ddca36..b4b9dc9b58 100644 --- a/playbooks/manual/push-badges.yml +++ b/playbooks/manual/push-badges.yml @@ -20,6 +20,7 @@ vars: tempdir: /var/tmp/badges-tempdir upstream: "https://git.fedorahosted.org/cgit/badges.git" + workingdir: /srv/web/infra/badges/ tasks: - name: clone the local bare repo @@ -37,6 +38,9 @@ - name: clean up that temporary {{tempdir}} dir 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: - include: "{{ handlers }}/restart_services.yml"