Add healthchecksio provider and refactor ip-for-host collection
This commit is contained in:
parent
ed51a86935
commit
6fdfd338a1
14 changed files with 147 additions and 49 deletions
inventory
|
@ -8,38 +8,28 @@ all:
|
|||
local-dev:
|
||||
ansible_connection: local
|
||||
|
||||
node001:
|
||||
ansible_host: node001.vpn.serguzim.net
|
||||
ansible_port: "{{ vault_node001.ansible_port }}"
|
||||
ansible_user: "{{ vault_node001.ansible_user }}"
|
||||
interactive_user: "{{ vault_node001.interactive_user }}"
|
||||
host_vpn:
|
||||
domain: node001.vpn.serguzim.net
|
||||
ip: 100.64.0.1
|
||||
host_backup:
|
||||
hc_uid: "{{ vault_node001.backup.hc_uid }}"
|
||||
uptime_kuma_token: "{{ vault_node001.backup.uptime_kuma_token }}"
|
||||
|
||||
node002:
|
||||
ansible_host: node002.vpn.serguzim.net
|
||||
ansible_host: "{{ opentofu.hosts.node002.fqdn_vpn }}"
|
||||
ansible_port: "{{ vault_node002.ansible_port }}"
|
||||
ansible_user: "{{ vault_node002.ansible_user }}"
|
||||
interactive_user: "{{ vault_node002.interactive_user }}"
|
||||
host_vpn:
|
||||
domain: node002.vpn.serguzim.net
|
||||
ip: 100.64.0.2
|
||||
domain: "{{ opentofu.hosts.node002.fqdn_vpn }}"
|
||||
ip: "{{ opentofu.hosts.node002.ipv4_address_vpn }}"
|
||||
host_backup:
|
||||
hc_uid: "{{ vault_node002.backup.hc_uid }}"
|
||||
hc_uid: "{{ opentofu.healthchecksio.backup.node002.id }}"
|
||||
hc_url: "{{ opentofu.healthchecksio.backup.node002.ping_url }}"
|
||||
uptime_kuma_token: "{{ vault_node002.backup.uptime_kuma_token }}"
|
||||
|
||||
node003:
|
||||
ansible_host: node003.vpn.serguzim.net
|
||||
ansible_host: "{{ opentofu.hosts.node003.fqdn_vpn }}"
|
||||
ansible_port: "{{ vault_node003.ansible_port }}"
|
||||
ansible_user: "{{ vault_node003.ansible_user }}"
|
||||
interactive_user: "{{ vault_node003.interactive_user }}"
|
||||
host_vpn:
|
||||
domain: node003.vpn.serguzim.net
|
||||
ip: 100.110.16.30
|
||||
domain: "{{ opentofu.hosts.node003.fqdn_vpn }}"
|
||||
ip: "{{ opentofu.hosts.node003.ipv4_address_vpn }}"
|
||||
host_backup:
|
||||
hc_uid: "{{ vault_node003.backup.hc_uid }}"
|
||||
hc_uid: "{{ opentofu.healthchecksio.backup.node003.id }}"
|
||||
hc_url: "{{ opentofu.healthchecksio.backup.node003.ping_url }}"
|
||||
uptime_kuma_token: "{{ vault_node003.backup.uptime_kuma_token }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue