This commit is contained in:
Sam A. 2023-11-12 16:03:21 +01:00
parent 704319cff6
commit bf5c7a526e
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
10 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ sapt-labr-prx02 ansible_host=192.168.17.11
[monitoring_shrd]
sapt-labr-mon01 ansible_host=192.168.17.20
[vmhost_infra]
[proxmox_infra]
sapt-labx-pve01 ansible_host=192.168.17.3
[control_infra]
@ -51,5 +51,5 @@ staging
shared
[infrastructure:children]
vmhost_infra
proxmox_infra
control_infra

View file

@ -17,7 +17,7 @@ ff02::3 ip6-allhosts
{% endfor %}
{% elif hostname in groups['control_infra'] %}
# Static hostnames for VM hosts
{% for host in groups['vmhost_infra'] %}
{% for host in groups['proxmox_infra'] %}
{{ hostvars[host].ansible_host }} {{ hostvars[host].fqdn }}
{% endfor %}

View file

@ -2,7 +2,7 @@
# code: language=ansible
---
- name: Base configuration
hosts: all
hosts: virtualservers
remote_user: root
roles:
- common
- vm-common