debug
parent
fdfa834984
commit
716bb874a9
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: update inception
|
- name: build generate-image
|
||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
# - name: Change to the app directory and update the repository
|
# - name: Change to the app directory and update the repository
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
# version: master
|
# version: master
|
||||||
# register: git_result
|
# register: git_result
|
||||||
- name: Go to the application directory
|
- name: Go to the application directory
|
||||||
command: chdir=/root/code/generate-image git pull origin master
|
command: chdir=/root/code/generate-image git pull origin main
|
||||||
register: git_result
|
register: git_result
|
||||||
|
|
||||||
- name: Build docker image if there were changes
|
- name: Build docker image if there were changes
|
||||||
|
|
Loading…
Reference in New Issue