Allow skipping of service management

This commit is contained in:
jwhb
2022-04-07 11:01:19 +02:00
parent 9b819a6c51
commit 83e2c066c1
4 changed files with 5 additions and 1 deletions

View File

@@ -2,3 +2,4 @@
- name: restart docker
service: "name=docker state={{ docker_restart_handler_state }}"
ignore_errors: "{{ ansible_check_mode }}"
when: docker_service_manage | bool