From 74e1c146b3bf021f01b3e4df68e9103151149116 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 19 Jan 2025 21:17:25 -0500 Subject: [PATCH] DESTINATION_FOLDER --- ANSIBLE/templates/A000003.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ANSIBLE/templates/A000003.yml b/ANSIBLE/templates/A000003.yml index dec9a04..09d1eb3 100644 --- a/ANSIBLE/templates/A000003.yml +++ b/ANSIBLE/templates/A000003.yml @@ -2,6 +2,15 @@ - hosts: WHAT_HOST_IN_USE tasks: + - name: Creates directory DESTINATION_FOLDER + ansible.builtin.file: + path: DESTINATION_FOLDER + state: directory + owner: www-data + group: www-data + mode: 0775 + recurse: yes + - name: Set up docker-compose file template: src: "WHAT_PART_LOCAL/docker-compose.yml"