diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-02 08:25:17 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-02 08:25:17 +0100 |
| commit | 630ee23513c8f1f06f88bbe7810b0f82fc5de0d7 (patch) | |
| tree | 69dabd4de1022ce1c04c97dea4cdd9927725c177 | |
| parent | 6509a0b9c496f2e3cf0287a18812f80e8aa05140 (diff) | |
auto-detect connection_device_name
| -rw-r--r-- | ansible/inventory.yml | 2 | ||||
| -rw-r--r-- | ansible/vars/common.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ansible/inventory.yml b/ansible/inventory.yml index 860ff05..317352c 100644 --- a/ansible/inventory.yml +++ b/ansible/inventory.yml @@ -11,7 +11,6 @@ ungrouped: 37626438343134636130646239653439303333363665343931373830613661366264316462393137 3438353664653365300a626535303539653166663665356563386234343161313738663534333033 6139 - connection_device_name: eth0 blade-canongate: ansible_host: 192.168.178.75 ansible_ssh_user: canongate @@ -23,4 +22,3 @@ ungrouped: 63326363386631313835306630336535616335336237663831613832663237396661363436643437 3237646663616430340a656137396337303564646333316234623264643963623162623766383131 6338 - connection_device_name: eth0 diff --git a/ansible/vars/common.yml b/ansible/vars/common.yml index e6dc18c..92f334c 100644 --- a/ansible/vars/common.yml +++ b/ansible/vars/common.yml @@ -1,3 +1,5 @@ +connection_device_name: "{{ ansible_facts.default_ipv4.alias }}" + subdomains: - "@" - budget |
