Do not execute service start on check_mode
This commit is contained in:
parent
330701db6a
commit
883a5ef11c
1 changed files with 1 additions and 1 deletions
|
@ -41,4 +41,4 @@
|
|||
name: 'kanshi.service'
|
||||
scope: user
|
||||
state: started
|
||||
when: service_file is changed
|
||||
when: service_file is changed and not ansible_check_mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue