cstate/tasks/update.yml

16 lines
435 B
YAML

---
- name: "[UPDATE] - Update the cState theme submodule"
shell: git submodule foreach git pull origin master
args:
chdir: '{{ cstate_dir }}'
become: yes
become_user: '{{ cstate_username }}'
# - name: "[UPDATE] - Update the cState theme"
# shell: git add -A; git commit -m "Update cState"; git push origin master; exit
# args:
# chdir: '{{ cstate_dir }}'
# become: yes
# become_user: '{{ cstate_username }}'