added params

This commit is contained in:
CHIEFSOFT\ameye
2025-01-26 08:26:03 -05:00
parent 50a8d40813
commit 431bf8feeb
5 changed files with 55 additions and 17 deletions
+5 -5
View File
@@ -1,20 +1,20 @@
---
- hosts: WHAT_HOST_IN_USE
- hosts: "{{ WHAT_HOST_IN_USE }}"
tasks:
- name: Creates directory DESTINATION_FOLDER
ansible.builtin.file:
path: DESTINATION_FOLDER
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"
src: "{{WHAT_PART_LOCAL}}/docker-compose.yml"
dest: "{{DESTINATION_FOLDER}}"
- name: docker compose up
shell:
chdir: "DESTINATION_FOLDER/"
chdir: "{{DESTINATION_FOLDER}}/"
cmd: docker-compose up -d
+20 -1
View File
@@ -1 +1,20 @@
A000002
---
- 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
+5 -5
View File
@@ -1,20 +1,20 @@
---
- hosts: WHAT_HOST_IN_USE
- hosts: "{{ WHAT_HOST_IN_USE }}"
tasks:
- name: Creates directory DESTINATION_FOLDER
ansible.builtin.file:
path: DESTINATION_FOLDER
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"
src: "{{WHAT_PART_LOCAL}}/docker-compose.yml"
dest: "{{DESTINATION_FOLDER}}"
- name: docker compose up
shell:
chdir: "DESTINATION_FOLDER/"
chdir: "{{DESTINATION_FOLDER}}/"
cmd: docker-compose up -d
+5 -5
View File
@@ -1,20 +1,20 @@
---
- hosts: WHAT_HOST_IN_USE
- hosts: "{{ WHAT_HOST_IN_USE }}"
tasks:
- name: Creates directory DESTINATION_FOLDER
ansible.builtin.file:
path: DESTINATION_FOLDER
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"
src: "{{WHAT_PART_LOCAL}}/docker-compose.yml"
dest: "{{DESTINATION_FOLDER}}"
- name: docker compose up
shell:
chdir: "DESTINATION_FOLDER/"
chdir: "{{DESTINATION_FOLDER}}/"
cmd: docker-compose up -d
+20 -1
View File
@@ -1 +1,20 @@
A000005
---
- 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