Skip to content
Snippets Groups Projects
Commit 8ce0f515 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

make an unnecessary changed go away only tested on k80 though

Former-commit-id: ca58de5d
parent 26f955f1
No related branches found
No related tags found
No related merge requests found
...@@ -198,6 +198,8 @@ ...@@ -198,6 +198,8 @@
shell: nvidia-smi --gom=0 shell: nvidia-smi --gom=0
become: true become: true
become_user: root become_user: root
register: nvidiagomcall
changed_when: '"cannot be changed" not in nvidiagomcall.stdout' # only tested on a k80
- name: enable persistenced on boot - name: enable persistenced on boot
service: name=nvidia-persistenced state=started enabled=yes service: name=nvidia-persistenced state=started enabled=yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment