Skip to content

Commit 50cb37f

Browse files
authored
reset configure_boot_start var Fixes splunk#150 (splunk#155)
1 parent 9df2892 commit 50cb37f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

roles/splunk/tasks/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
- "{{ ansible_os_family }}{{ ansible_distribution_major_version }}.yml"
88
- "{{ ansible_os_family }}.yml"
99

10-
- name: Reset value of start_splunk_handler_fired
10+
- name: Reset value of start_splunk_handler_fired and configure_boot_start
1111
tags: always
1212
set_fact:
1313
start_splunk_handler_fired: false
14+
configure_boot_start: False
1415
changed_when: false
1516

1617
- name: Set boot-start method to systemd
@@ -131,7 +132,7 @@
131132
- "To correct this: Either run configure_splunk_boot.yml or update the value of splunk_use_initd/splunk_use_systemd in your group_vars."
132133
when:
133134
- splunkd_found.stat.exists
134-
- configure_boot_start is defined
135+
- configure_boot_start == True
135136
- not deployment_task == "configure_splunk_boot.yml"
136137

137138
- name: Send Slack messages

0 commit comments

Comments
 (0)