mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-09 10:56:01 +00:00
Optimized handler loading. Requirerd due to 2.18->2.20 update
This commit is contained in:
@@ -5,3 +5,12 @@
|
||||
state: restarted
|
||||
enabled: yes
|
||||
when: not (IS_CONTAINER | bool)
|
||||
listen: docker restart
|
||||
|
||||
- name: Ensure Docker daemon is running inside container
|
||||
shell: docker info
|
||||
register: docker_info
|
||||
failed_when: docker_info.rc != 0
|
||||
changed_when: false
|
||||
when: IS_CONTAINER | bool
|
||||
listen: docker restart
|
||||
Reference in New Issue
Block a user