From bf22ccbb1eeedd1f9376e460fb24e30320883d4d Mon Sep 17 00:00:00 2001
From: Jannik Berges <git@jabertwo.de>
Date: Fri, 21 Jul 2023 14:44:26 +0200
Subject: [PATCH] ansible_user in hosts.yml

---
 hosts.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/hosts.yml b/hosts.yml
index 847a1fe5..f9fe361e 100644
--- a/hosts.yml
+++ b/hosts.yml
@@ -12,11 +12,13 @@ prod:
         # ansible_ssh_common_args='-o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ProxyCommand="ssh -W %h:%p -q 159.69.57.51"'
         weatherwax:
           ansible_ssh_host: 192.168.0.200
+          ansible_user: root
 
         # Externe Server Warpzone
         # Öffentlicher Root Server Warpzone bei Hetzner
         tiffany:
           ansible_ssh_host: 159.69.57.15
+          ansible_user: root
 
     vms:
       children:
@@ -27,12 +29,14 @@ prod:
             # Wichtige Optionen: Nesting = Yes, keyctl = enabled
             ogg:
               ansible_ssh_host: 192.168.0.201
+              ansible_user: root
 
             # Server für VPN Verbindung zum Webserver
             # Container auf dem internen Proxmox Server
             # Wichtige Optionen: Nesting = Yes, keyctl = enabled
             carrot:
               ansible_ssh_host: 192.168.0.202
+              ansible_user: root
 
         tiffany-vms:
           hosts:
@@ -40,12 +44,14 @@ prod:
             # VM auf Tiffany
             webserver:
               ansible_ssh_host: 159.69.57.51
+              ansible_user: root
 
             # Vorstands-VM
             # VM auf Tiffany
             # Auch erreichbar unter verwaltung.warpzone.ms
             verwaltung:
               ansible_ssh_host: 195.201.179.60
+              ansible_user: root
 
 event:
   children:
@@ -55,6 +61,7 @@ event:
         # warpzone.remote Proxmox-Server
         hex:
           ansible_ssh_host: 10.111.10.100
+          ansible_user: root
 
     vms:
       hosts:
@@ -63,3 +70,4 @@ event:
         # Wichtige Optionen: Nesting = Yes, keyctl = enabled
         hix:
           ansible_ssh_host: 10.111.10.101
+          ansible_user: root
\ No newline at end of file
-- 
GitLab