summaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/inventory.yml2
-rw-r--r--ansible/vars/common.yml2
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