blob: 58570c6ce705c39ab71ff47c01b18e3aa29a35aa (
plain)
1
2
3
4
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) }}"
|