X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-cpupooler.git;a=blobdiff_plain;f=ansible%2Froles%2Fcpupooler%2Ftemplates%2Fncir_cpu_pooler_config.yaml.j2;fp=ansible%2Froles%2Fcpupooler%2Ftemplates%2Fncir_cpu_pooler_config.yaml.j2;h=c138125e34486f83454e1dda093829727814bd21;hp=b9a6025f37525866348bcfc18a3a76d1b0d25c5b;hb=bef718ecdf5dfcd9c1757c3e1f368d44130f0046;hpb=615d289d61440f17b130a351510d1a2adcf40b80 diff --git a/ansible/roles/cpupooler/templates/ncir_cpu_pooler_config.yaml.j2 b/ansible/roles/cpupooler/templates/ncir_cpu_pooler_config.yaml.j2 index b9a6025..c138125 100644 --- a/ansible/roles/cpupooler/templates/ncir_cpu_pooler_config.yaml.j2 +++ b/ansible/roles/cpupooler/templates/ncir_cpu_pooler_config.yaml.j2 @@ -19,7 +19,7 @@ limitations under the License. {% if hostname != "localhost" %} {{ hostname }}: pools: - {% set cpu_allocation = hostdata.get('ansible_local', {}).get('ncir_cpu_allocation', {}) %} + {% set cpu_allocation = hostdata.get('ansible_local', {}).get('cpu_allocation', {}) %} {% for allocation_name, allocation in cpu_allocation.iteritems() %} {% if allocation_name in cpu_allocation_mapping %} {{ cpu_allocation_mapping[allocation_name]['pool_name'] }}: