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: