From 5f3c8c2f0f0875b55105ddd49466862944ec97c2 Mon Sep 17 00:00:00 2001 From: Antwan <antoine.blancy@etu.hesge.ch> Date: Mon, 11 Apr 2022 23:58:06 +0200 Subject: [PATCH] a --- README.md | 9 --------- deez_nodes | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 141ba4a..f0130cf 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,4 @@ ## GNS3 project link https://gns3.hepiapp.ch/static/web-ui/server/1/project/7748334d-888f-40ec-8ff5-d0655e310e16 -## How to use -Make sure to swap out the IP addresses in the ***deez_nodes*** file if they changed. -Then simply use the following command: - -``` -ansible-playbook -i deez_nodes h1.yml h2.yml r1.yml -``` - -You might need to have the hosts inside of your know_hosts file in .ssh in order for this to work. \ No newline at end of file diff --git a/deez_nodes b/deez_nodes index bbd1762..800e896 100644 --- a/deez_nodes +++ b/deez_nodes @@ -1,4 +1,4 @@ [nginx-curl] -h1 ansible_host=10.9.8.17 ansible_port=22 ansible_user=iti ansible_password=password -h2 ansible_host=10.9.8.18 ansible_port=22 ansible_user=iti ansible_password=password +h1 ansible_host=10.9.8.18 ansible_port=22 ansible_user=iti ansible_password=password +h2 ansible_host=10.9.8.17 ansible_port=22 ansible_user=iti ansible_password=password r1 ansible_host=10.9.8.16 ansible_port=22 ansible_user=iti ansible_password=password \ No newline at end of file -- GitLab