master
omidshj 2024-05-16 21:22:38 +03:30
parent eab8d0241f
commit 90fb9494dc
1 changed files with 11 additions and 0 deletions

11
i3.yml Normal file
View File

@ -0,0 +1,11 @@
---
- 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