Changed vars to group vars for test

This commit is contained in:
2025-08-24 13:09:19 +02:00
parent 3db68472bb
commit ddf5986274
3 changed files with 4 additions and 5 deletions

3
group_vars/lxc.yml Normal file
View File

@@ -0,0 +1,3 @@
# Key used for Ansible to connect to LXC containers
ansible_ssh_private_key_file: '~/.ssh/ansible'
ansible_user: 'root'

View File

@@ -15,8 +15,6 @@ raspberry-pi ansible_host=x.x.x.x
ansible ansible_host=x.x.x.x
zabbix-proxy ansible_host=x.x.x.x
pi-hole ansible_host=x.x.x.x
[lxc:vars]
ansible_user=root
[proxmox_backup]
proxmox-backup ansible_host=x.x.x.x

View File

@@ -4,5 +4,3 @@ my_public_keys:
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINSGj0dxaA38QSBVY3DZiPb+qmIuTFxGo0mt4sbmYDa3 mbuz@macbook-pro"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOpvRkew+XpOAt7I/mizQbE/OJP1SO6NVl2/A1ZGzdU3 mbuz@windows-desktop"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIGWMJbHDCB8XCxPGth1229A3W/sPpvJHO9xBvegv4Sx mbuz@macbook-air"
ansible_ssh_private_key: '~/.ssh/ansible'