aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/tasks
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-09 16:34:31 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-09 16:43:04 +0000
commit01c8bdc81c1cefa951fd0610d4713c308edd86b9 (patch)
treef54e70c810c5a179d18fdddcd69c285ce6338ccf /roles/vmm/tasks
parent38016dce730790f1014456951b13a22ea6f0d64f (diff)
downloadrules-01c8bdc81c1cefa951fd0610d4713c308edd86b9.tar.gz
roles/vmm: Transform vmm linting to an handler
Diffstat (limited to 'roles/vmm/tasks')
-rw-r--r--roles/vmm/tasks/main.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/roles/vmm/tasks/main.yml b/roles/vmm/tasks/main.yml
index 26580f2..bb0d501 100644
--- a/roles/vmm/tasks/main.yml
+++ b/roles/vmm/tasks/main.yml
@@ -36,11 +36,8 @@
owner: 0
group: 0
mode: 0640
- register: result
-
-- name: lint vmm configuration
- command: "vmd -nf {{ vmm_configuration_file }}"
- when: result.changed
+ notify:
+ - lint vmm configuration
- name: restart and enable vmd
service:
remember that computers suck.