Skip to content

Commit

Permalink
use systemd module instead of shell
Browse files Browse the repository at this point in the history
  • Loading branch information
VilleS1 committed Nov 18, 2019
1 parent eb16879 commit 622eea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
# handlers file for ansible-role-cuda
- name: reload systemd unit files
shell: systemctl daemon-reload
systemd:
daemon-reload: yes
when: ansible_connection != 'chroot'

- name: Initialize the GPUs
Expand Down

0 comments on commit 622eea6

Please sign in to comment.