diff options
Diffstat (limited to 'ansible/roles/docker/handlers/main.yml')
-rw-r--r-- | ansible/roles/docker/handlers/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/docker/handlers/main.yml b/ansible/roles/docker/handlers/main.yml index de4a52ac..9916a81b 100644 --- a/ansible/roles/docker/handlers/main.yml +++ b/ansible/roles/docker/handlers/main.yml @@ -1,3 +1,6 @@ --- - name: Restart Docker import_tasks: docker_restart.yml + when: + - ansible_env.container is defined + - ansible_env.container != 'docker' |