From a0dd74445b4460e5e7fa4c72bd478348eb960224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 5 Dec 2021 13:07:49 +0000 Subject: roles/workstation: Generate hostnames for ssh --- host_vars/localhost.yml | 4 ++++ host_vars/ws-bare01.yml | 3 +++ host_vars/ws-bentonite.yml | 3 --- host_vars/ws-think02.yml | 3 +++ 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 host_vars/ws-bare01.yml delete mode 100644 host_vars/ws-bentonite.yml create mode 100644 host_vars/ws-think02.yml (limited to 'host_vars') diff --git a/host_vars/localhost.yml b/host_vars/localhost.yml index 5bb76b0..c212ded 100644 --- a/host_vars/localhost.yml +++ b/host_vars/localhost.yml @@ -1,2 +1,6 @@ ansible_host: 127.0.0.1 ansible_connection: local + +__ip: + external: 127.0.0.1 + internal: 127.0.0.1 diff --git a/host_vars/ws-bare01.yml b/host_vars/ws-bare01.yml new file mode 100644 index 0000000..dedc166 --- /dev/null +++ b/host_vars/ws-bare01.yml @@ -0,0 +1,3 @@ +__ip: + external: dhcp + internal: 10.10.0.80 diff --git a/host_vars/ws-bentonite.yml b/host_vars/ws-bentonite.yml deleted file mode 100644 index dedc166..0000000 --- a/host_vars/ws-bentonite.yml +++ /dev/null @@ -1,3 +0,0 @@ -__ip: - external: dhcp - internal: 10.10.0.80 diff --git a/host_vars/ws-think02.yml b/host_vars/ws-think02.yml new file mode 100644 index 0000000..3665907 --- /dev/null +++ b/host_vars/ws-think02.yml @@ -0,0 +1,3 @@ +__ip: + external: dhcp + internal: 10.10.0.83 -- cgit v1.2.3