Update deployment
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
hosts: Docker
|
||||
tasks:
|
||||
- name: Clone repo
|
||||
command: wget http://192.168.1.157:3000/jeet/OCI_Build.git
|
||||
command: git clone http://192.168.1.157:3000/jeet/OCI_Build.git
|
||||
|
||||
- name: Start container using Docker Compose
|
||||
ansible.builtin.command:
|
||||
cmd: docker compose up -d
|
||||
chdir: ~/docker
|
||||
chdir: ~/OCI_Build/docker
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Pause for 30 seconds to allow containers to stabilize
|
||||
Reference in New Issue
Block a user