Use default CPU allocation for default CPU pool
[ta/caas-cpupooler.git] / ansible / roles / cpupooler / templates / ncir_cpu_pooler_config.yaml.j2
index b9a6025..c138125 100644 (file)
@@ -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'] }}: