diff --git a/handlers/main.yml b/handlers/main.yml index e1554f0..422472a 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,8 +1,7 @@ --- # handlers file for ansible-role-cuda - name: reload systemd unit files - systemd: - daemon-reload: yes + shell: systemctl daemon-reload when: ansible_connection != 'chroot' - name: Initialize the GPUs