summaryrefslogtreecommitdiffstats
path: root/group_vars/ands.yml
diff options
context:
space:
mode:
Diffstat (limited to 'group_vars/ands.yml')
-rw-r--r--group_vars/ands.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/group_vars/ands.yml b/group_vars/ands.yml
new file mode 100644
index 0000000..58570c6
--- /dev/null
+++ b/group_vars/ands.yml
@@ -0,0 +1,5 @@
+# This should be here, the variables from the role are not propogated to hostvars
+
+#ands_master_id: "{{ ('masters' in group_names) | ternary(groups.masters.index(('masters' in group_names) | ternary(inventory_hostname, groups.masters[0])), -1) }}"
+ands_storage_hostname: "{{ ands_storage_network | default(false) | ternary(ands_storage_network | default('') | ipaddr(ands_host_id) | ipaddr('address'), ansible_fqdn) }}"
+