From 50a8d40813fdecb81589333cfae97b039236d53c Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sun, 26 Jan 2025 13:02:04 +0000 Subject: [PATCH] Upload files to '' --- A000001.yml | 20 ++++++++++++++++++++ A000002.yml | 1 + A000003.yml | 20 ++++++++++++++++++++ A000004.yml | 20 ++++++++++++++++++++ A000005.yml | 1 + 5 files changed, 62 insertions(+) create mode 100644 A000001.yml create mode 100644 A000002.yml create mode 100644 A000003.yml create mode 100644 A000004.yml create mode 100644 A000005.yml diff --git a/A000001.yml b/A000001.yml new file mode 100644 index 0000000..cbd54b2 --- /dev/null +++ b/A000001.yml @@ -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 \ No newline at end of file diff --git a/A000002.yml b/A000002.yml new file mode 100644 index 0000000..7769c7e --- /dev/null +++ b/A000002.yml @@ -0,0 +1 @@ +A000002 \ No newline at end of file diff --git a/A000003.yml b/A000003.yml new file mode 100644 index 0000000..cbd54b2 --- /dev/null +++ b/A000003.yml @@ -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 \ No newline at end of file diff --git a/A000004.yml b/A000004.yml new file mode 100644 index 0000000..cbd54b2 --- /dev/null +++ b/A000004.yml @@ -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 \ No newline at end of file diff --git a/A000005.yml b/A000005.yml new file mode 100644 index 0000000..6827259 --- /dev/null +++ b/A000005.yml @@ -0,0 +1 @@ +A000005 \ No newline at end of file