Skip to content

Commit 34555a0

Browse files
authored
notify restart splunk on all changes in configure_license.yml (#183)
1 parent 3f56e9a commit 34555a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

roles/splunk/tasks/configure_license.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
mode: "0600"
2929
loop: "{{ splunk_license_file }}"
3030
become: true
31+
notify: restart splunk
3132
when:
3233
- splunk_license_group=="Enterprise"
3334
- name: "Remove license manager uri when using local license"
@@ -42,6 +43,7 @@
4243
- manager_uri
4344
- master_uri
4445
become: true
46+
notify: restart splunk
4547
- name: Configure License Group
4648
ini_file:
4749
path: "{{ splunk_home }}/etc/system/local/server.conf"
@@ -67,6 +69,7 @@
6769
owner: "{{ splunk_nix_user }}"
6870
group: "{{ splunk_nix_group }}"
6971
become: true
72+
notify: restart splunk
7073

7174
- name: Extract encrypted value
7275
include_tasks: check_decrypted_secret.yml

0 commit comments

Comments
 (0)