Changed vars to group vars for test
This commit is contained in:
3
group_vars/lxc.yml
Normal file
3
group_vars/lxc.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
# Key used for Ansible to connect to LXC containers
|
||||
ansible_ssh_private_key_file: '~/.ssh/ansible'
|
||||
ansible_user: 'root'
|
||||
@@ -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
|
||||
|
||||
2
vars.yml
2
vars.yml
@@ -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'
|
||||
Reference in New Issue
Block a user