Skip to content

Commit bb0d749

Browse files
authored
remove_cluster: stop consul service if remove_consul is true (vitabaks#300)
1 parent f0b20f3 commit bb0d749

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

remove_cluster.yml

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
name: consul
3838
state: stopped
3939
enabled: false
40+
when: remove_consul|bool
4041
- name: Delete Consul content
4142
file:
4243
path: "{{ consul_data_path }}"

0 commit comments

Comments
 (0)