summaryrefslogtreecommitdiffstats
path: root/setup/configs/labels.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-07 07:03:57 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-07 07:03:57 +0100
commit6bc3a3ac71e11fb6459df715536fec373c123a97 (patch)
treec99a4507012fd853ffa2622e35fa26f3bd3804e3 /setup/configs/labels.yml
parent69adb23c59e991ddcabf5cfce415fd8b638dbc1a (diff)
downloadands-6bc3a3ac71e11fb6459df715536fec373c123a97.tar.gz
ands-6bc3a3ac71e11fb6459df715536fec373c123a97.tar.bz2
ands-6bc3a3ac71e11fb6459df715536fec373c123a97.tar.xz
ands-6bc3a3ac71e11fb6459df715536fec373c123a97.zip
Streamlined networking, OpenShift recovery, Ganesha
Diffstat (limited to 'setup/configs/labels.yml')
-rw-r--r--setup/configs/labels.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/setup/configs/labels.yml b/setup/configs/labels.yml
index 1c5f19f..e8ee868 100644
--- a/setup/configs/labels.yml
+++ b/setup/configs/labels.yml
@@ -2,5 +2,12 @@
ands_openshift_labels:
region: "infra"
zone: "default"
- master: "{{ ( 'masters' in group_names ) | ternary(1, 0) }}"
+ hostid: "{{ ands_host_id }}"
+ hostname: "{{ ansible_hostname }}"
+ fqdn: "{{ ansible_hostname }}.{{ ansible_domain }}"
+ master: "{{ (('masters' in group_names) or ( 'new_masters' in group_names )) | ternary(1, 0) }}"
fat_storage: "{{ ( 'storage_nodes' in group_names ) | ternary(1, 0) }}"
+ fat_memory: 0
+ pod_node: 1
+ compute_node: 0
+ gpu_node: 0