From e7ed329bd81c2273c03e94c93c9ce9c1d01cdc86 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 1 Apr 2017 04:53:28 +0200 Subject: Initial import --- group_vars/ands.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 group_vars/ands.yml (limited to 'group_vars/ands.yml') 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) }}" + -- cgit v1.2.3