From df3eb83f27980a64c15e5727c7f3e4b90ee4c792 Mon Sep 17 00:00:00 2001 From: Justus Grunow Date: Sun, 15 Dec 2024 09:20:15 -0500 Subject: [PATCH] Consolidated inventory vars --- ansible/inventory/hosts.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ansible/inventory/hosts.yaml b/ansible/inventory/hosts.yaml index 33fe732..8709c52 100644 --- a/ansible/inventory/hosts.yaml +++ b/ansible/inventory/hosts.yaml @@ -1,4 +1,8 @@ --- +all: + vars: + ansible_ssh_user: root + ungrouped: hosts: bastion: @@ -16,10 +20,12 @@ docker: ansible_ssh_user: root gitea: ansible_ssh_user: root + wireguard: + hosts: + docker-int: + +external_access: hosts: docker-ext: - ansible_ssh_user: root bastion: - ansible_host: 51.222.155.202 - ansible_ssh_user: root