Enable systemd service which disables smt

Systemd service for disabling smt on ppc64le compute nodes was added
earlier. But the service is not enabled. So after reboot, smt is
not getting disabled on ppc64le compute nodes. This patch adds
code to enable the smt-disabling systemd service.

Change-Id: I0b0371f97aa56a190cd6622b7ade739efc7c98f2
This commit is contained in:
Ravi Gummadi 2017-01-19 13:43:03 -05:00
parent f982a5602c
commit 6cb72a2c94

View File

@ -32,5 +32,10 @@
- ansible_service_mgr == 'systemd'
- smt_disable_result.rc is defined
- smt_disable_result.rc == 0
notify:
- Reload systemd daemon
register: smt_disable_service
- name: Enable systemd service which disables smt
service:
name: smt
enabled: yes
when: "{{ smt_disable_service | changed }}"