Skip to content

Commit

Permalink
Only start in something other than Docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Aug 25, 2018
1 parent 10afb77 commit 172d4b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
name: "{{ instance.name | default(tomcat_name) }}"
state: started
enabled: yes
when:
- ansible_virtualization_type != "docker"

- name: loop over wars
include: war.yml
Expand Down

0 comments on commit 172d4b1

Please sign in to comment.