Fixing bad commit.
This commit is contained in:
parent
32ead38d17
commit
95f471afa4
@ -3,12 +3,12 @@
|
|||||||
remote_user: josiah
|
remote_user: josiah
|
||||||
tasks:
|
tasks:
|
||||||
- name: update or create the directory
|
- name: update or create the directory
|
||||||
command: cd /home/josiah/znc-docker/ && git pull
|
shell: cd /home/josiah/znc-docker/ && git pull
|
||||||
register: result
|
register: result
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
|
||||||
# if the folder doesn't exist, clone source.
|
# if the folder doesn't exist, clone source.
|
||||||
- command: cd /home/josiah && git clone https://github.com/jowj/znc-docker.git
|
- shell: cd /home/josiah && git clone https://github.com/jowj/znc-docker.git
|
||||||
when: result is failed
|
when: result is failed
|
||||||
- name: build from latest version
|
- name: build from latest version
|
||||||
shell: cd ~/znc-docker/full && docker build -t znc -f Dockerfile .
|
shell: cd ~/znc-docker/full && docker build -t znc -f Dockerfile .
|
||||||
|
Loading…
Reference in New Issue
Block a user