Upload files to ''
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
- hosts: WHAT_HOST_IN_USE
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Creates directory DESTINATION_FOLDER
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: DESTINATION_FOLDER
|
||||||
|
state: directory
|
||||||
|
mode: 0775
|
||||||
|
recurse: yes
|
||||||
|
|
||||||
|
- name: Set up docker-compose file
|
||||||
|
template:
|
||||||
|
src: "WHAT_PART_LOCAL/docker-compose.yml"
|
||||||
|
dest: "DESTINATION_FOLDER"
|
||||||
|
|
||||||
|
- name: docker compose up
|
||||||
|
shell:
|
||||||
|
chdir: "DESTINATION_FOLDER/"
|
||||||
|
cmd: docker-compose up -d
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
A000002
|
||||||
+20
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
- hosts: WHAT_HOST_IN_USE
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Creates directory DESTINATION_FOLDER
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: DESTINATION_FOLDER
|
||||||
|
state: directory
|
||||||
|
mode: 0775
|
||||||
|
recurse: yes
|
||||||
|
|
||||||
|
- name: Set up docker-compose file
|
||||||
|
template:
|
||||||
|
src: "WHAT_PART_LOCAL/docker-compose.yml"
|
||||||
|
dest: "DESTINATION_FOLDER"
|
||||||
|
|
||||||
|
- name: docker compose up
|
||||||
|
shell:
|
||||||
|
chdir: "DESTINATION_FOLDER/"
|
||||||
|
cmd: docker-compose up -d
|
||||||
+20
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
- hosts: WHAT_HOST_IN_USE
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Creates directory DESTINATION_FOLDER
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: DESTINATION_FOLDER
|
||||||
|
state: directory
|
||||||
|
mode: 0775
|
||||||
|
recurse: yes
|
||||||
|
|
||||||
|
- name: Set up docker-compose file
|
||||||
|
template:
|
||||||
|
src: "WHAT_PART_LOCAL/docker-compose.yml"
|
||||||
|
dest: "DESTINATION_FOLDER"
|
||||||
|
|
||||||
|
- name: docker compose up
|
||||||
|
shell:
|
||||||
|
chdir: "DESTINATION_FOLDER/"
|
||||||
|
cmd: docker-compose up -d
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
A000005
|
||||||
Reference in New Issue
Block a user