diff --git a/tasks/nova_disable_smt.yml b/tasks/nova_disable_smt.yml index b78f3fff..0158486a 100644 --- a/tasks/nova_disable_smt.yml +++ b/tasks/nova_disable_smt.yml @@ -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 }}"