playbooks/i3.yml

11 lines
288 B
YAML
Raw Normal View History

2024-05-16 21:22:38 +03:30
---
- name: update inception
hosts: all
tasks:
- name: Go to the application directory
command: chdir=/root/code/inception git pull origin master
register: git_output
- name: Run build script
command: chdir=/root/code/inception ./build.sh
when: git_output.changed