Do not execute service start on check_mode

This commit is contained in:
Yorick Barbanneau 2022-11-30 14:17:50 +01:00
parent 330701db6a
commit 883a5ef11c

View file

@ -41,4 +41,4 @@
name: 'kanshi.service' name: 'kanshi.service'
scope: user scope: user
state: started state: started
when: service_file is changed when: service_file is changed and not ansible_check_mode