summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host_vars/git.home.arpa.yml (renamed from host_vars/git.local.yml)bin531 -> 531 bytes
-rw-r--r--host_vars/git.home.arpa.yml.example (renamed from host_vars/git.local.yml.example)2
-rw-r--r--host_vars/rpi5.local.ymlbin3602 -> 3707 bytes
-rw-r--r--host_vars/rpi5.local.yml.example1
-rw-r--r--inventory/hosts.yml2
-rw-r--r--molecule/git/molecule.yml2
-rw-r--r--molecule/inventory.yml3
-rw-r--r--service.yml2
8 files changed, 5 insertions, 7 deletions
diff --git a/host_vars/git.local.yml b/host_vars/git.home.arpa.yml
index f01929e3..f01929e3 100644
--- a/host_vars/git.local.yml
+++ b/host_vars/git.home.arpa.yml
Binary files differ
diff --git a/host_vars/git.local.yml.example b/host_vars/git.home.arpa.yml.example
index 60b8d659..90db04b3 100644
--- a/host_vars/git.local.yml.example
+++ b/host_vars/git.home.arpa.yml.example
@@ -1,6 +1,4 @@
---
-ansible_host: "10.0.0.100"
-
network_ipv4_address: "10.0.0.100"
network_ipv4_gateway: "10.0.0.254"
network_ipv4_dns: "10.0.0.254"
diff --git a/host_vars/rpi5.local.yml b/host_vars/rpi5.local.yml
index 27388c7d..c8d6c59a 100644
--- a/host_vars/rpi5.local.yml
+++ b/host_vars/rpi5.local.yml
Binary files differ
diff --git a/host_vars/rpi5.local.yml.example b/host_vars/rpi5.local.yml.example
index d528e4a5..399e2ee3 100644
--- a/host_vars/rpi5.local.yml.example
+++ b/host_vars/rpi5.local.yml.example
@@ -27,6 +27,7 @@ pihole_dns_hosts:
- "{{ network_ipv4_address }} {{ wg_portal_hostname }}"
- "{{ network_ipv4_address }} {{ grafana_hostname }}"
- "{{ network_ipv4_address }} {{ prometheus_hostname }}"
+ - "{{ hostvars['git.home.arpa'].network_ipv4_address }} {{ hostvars['git.home.arpa'].cgit_hostname }}"
wireguard_autostart_connection: "vpn2"
wireguard_connections:
diff --git a/inventory/hosts.yml b/inventory/hosts.yml
index 646df106..b35c1d42 100644
--- a/inventory/hosts.yml
+++ b/inventory/hosts.yml
@@ -13,4 +13,4 @@ containers:
vars:
ansible_connection: ssh
hosts:
- git.local:
+ git.home.arpa:
diff --git a/molecule/git/molecule.yml b/molecule/git/molecule.yml
index 3050dd01..210e1f71 100644
--- a/molecule/git/molecule.yml
+++ b/molecule/git/molecule.yml
@@ -8,7 +8,7 @@ dependency:
driver:
name: podman
platforms:
- - name: git
+ - name: git.home.arpa
image: git
dockerfile: Dockerfile.j2
platform: "linux/amd64"
diff --git a/molecule/inventory.yml b/molecule/inventory.yml
index 47eb69e4..1371d9d3 100644
--- a/molecule/inventory.yml
+++ b/molecule/inventory.yml
@@ -10,5 +10,4 @@ homelab:
containers:
hosts:
- git.local:
- ansible_host: git
+ git.home.arpa: {}
diff --git a/service.yml b/service.yml
index a08cfa69..7fbccd8f 100644
--- a/service.yml
+++ b/service.yml
@@ -2,6 +2,6 @@
- name: "Git configure"
gather_facts: true
hosts:
- - git.local
+ - git.home.arpa
roles:
- role: "cgit"