Skip to content

Commit

Permalink
Merge branch 'bug_fix_consul_disabled' into 'master_1.4.9'
Browse files Browse the repository at this point in the history
Fix do not stop/start consul when consul disabled

See merge request vitam/vitam!5377
  • Loading branch information
nroselier committed Dec 13, 2018
2 parents 05e686c + 90c3938 commit 56cf278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/ansible-vitam-exploitation/start_vitam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
any_errors_fatal: true
serial: 1
roles:
- service
- { role: service, when: consul_disabled is not defined or consul_disabled |lower != 'true' }
vars:
state: "{% if 'consul' not in vitam_secondary_site_components and primary_site| lower == 'false' %}stopped{% else %}started{% endif %}"
name: vitam-consul
Expand Down
2 changes: 1 addition & 1 deletion deployment/ansible-vitam-exploitation/stop_vitam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
# consul stop
- hosts: vitam
roles:
- service
- { role: service, when: consul_disabled is not defined or consul_disabled |lower != 'true' }
vars:
state: stopped
name: vitam-consul
Expand Down

0 comments on commit 56cf278

Please sign in to comment.