Fixes #42: Allow control over docker_service state.

This commit is contained in:
Jeff Geerling
2018-05-18 16:58:50 -05:00
parent 2b31b694c0
commit abd8e3625e
4 changed files with 14 additions and 3 deletions

View File

@@ -14,8 +14,8 @@
- name: Ensure Docker is started and enabled at boot.
service:
name: docker
state: started
enabled: yes
state: "{{ docker_service_state }}"
enabled: "{{ docker_service_enabled }}"
- name: Ensure handlers are notified now to avoid firewall conflicts.
meta: flush_handlers