debug
parent
8ae1b58b43
commit
58926b6d51
26
i3v.yml
26
i3v.yml
|
@ -3,17 +3,17 @@
|
||||||
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
|
||||||
git:
|
git:
|
||||||
repo: 'https://gt.eron.co/eron/inception.git' # Replace with your repository URL
|
repo: 'https://gt.eron.co/eron/inception.git' # Replace with your repository URL
|
||||||
dest: /root/code/inception
|
dest: /root/code/inception
|
||||||
version: master
|
version: master
|
||||||
register: git_result
|
register: git_result
|
||||||
|
|
||||||
- name: Build docker image if there were changes
|
- name: Build docker image if there were changes
|
||||||
docker_image:
|
docker_image:
|
||||||
source: build
|
source: build
|
||||||
build:
|
build:
|
||||||
path: /root/code/inception
|
path: /root/code/inception
|
||||||
name: inception
|
name: inception
|
||||||
tag: "13.2"
|
tag: "13.2"
|
||||||
when: git_result.changed
|
when: git_result.changed
|
Loading…
Reference in New Issue