diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-15 15:28:10 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-15 15:42:59 +0200 |
| commit | ab1ce5c14ffae0cc76d734ea56374f0c772631ba (patch) | |
| tree | 4c635e30268c985a27001fa2f2f9d8d573eb728b | |
| parent | 498e737bfa658a8bbb70c47e694348a0e29c199f (diff) | |
Rename services to use .home.arpa network instead .local
| -rw-r--r-- | host_vars/git.home.arpa.yml (renamed from host_vars/git.local.yml) | bin | 531 -> 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.yml | bin | 3602 -> 3707 bytes | |||
| -rw-r--r-- | host_vars/rpi5.local.yml.example | 1 | ||||
| -rw-r--r-- | inventory/hosts.yml | 2 | ||||
| -rw-r--r-- | molecule/git/molecule.yml | 2 | ||||
| -rw-r--r-- | molecule/inventory.yml | 3 | ||||
| -rw-r--r-- | service.yml | 2 |
8 files changed, 5 insertions, 7 deletions
diff --git a/host_vars/git.local.yml b/host_vars/git.home.arpa.yml Binary files differindex f01929e3..f01929e3 100644 --- a/host_vars/git.local.yml +++ b/host_vars/git.home.arpa.yml 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 Binary files differindex 27388c7d..c8d6c59a 100644 --- a/host_vars/rpi5.local.yml +++ b/host_vars/rpi5.local.yml 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" |
