From 0b0beac6257ba03ea06559d206a4078d1b163db2 Mon Sep 17 00:00:00 2001 From: VilleS1 Date: Mon, 18 Nov 2019 17:47:23 +0200 Subject: [PATCH] Revert "use systemd module instead of shell" This reverts commit 622eea697a18496ab7316787ed020c64b0b95120. --- handlers/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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