From 129c2f48b0b455dcdc8b86f0006a106f453a4464 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 19 Jan 2025 20:57:38 -0500 Subject: [PATCH] delegate_to: localhost --- ANSIBLE/inventory | 4 ++++ ANSIBLE/templates/A000003.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/ANSIBLE/inventory b/ANSIBLE/inventory index d0e18da..1a2f902 100644 --- a/ANSIBLE/inventory +++ b/ANSIBLE/inventory @@ -1,10 +1,14 @@ [A000001_SERVER] 172.16.4.92 + [A000002_SERVER] 172.16.4.92 + [A000003_SERVER] 172.16.4.91 + [A000004_SERVER] 172.16.4.91 + [A000005_SERVER] 172.16.4.95 \ No newline at end of file diff --git a/ANSIBLE/templates/A000003.yml b/ANSIBLE/templates/A000003.yml index d0a2d66..446972a 100644 --- a/ANSIBLE/templates/A000003.yml +++ b/ANSIBLE/templates/A000003.yml @@ -6,6 +6,7 @@ template: src: "WHAT_PART_FOLDER/docker-compose.yml" dest: "DESTINATION_FOLDER" + delegate_to: localhost - name: docker compose up shell: