Skip to content

Commit

Permalink
notify restart splunk on all changes in configure_license.yml (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
jewnix authored May 11, 2023
1 parent 3f56e9a commit 34555a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/splunk/tasks/configure_license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
mode: "0600"
loop: "{{ splunk_license_file }}"
become: true
notify: restart splunk
when:
- splunk_license_group=="Enterprise"
- name: "Remove license manager uri when using local license"
Expand All @@ -42,6 +43,7 @@
- manager_uri
- master_uri
become: true
notify: restart splunk
- name: Configure License Group
ini_file:
path: "{{ splunk_home }}/etc/system/local/server.conf"
Expand All @@ -67,6 +69,7 @@
owner: "{{ splunk_nix_user }}"
group: "{{ splunk_nix_group }}"
become: true
notify: restart splunk

- name: Extract encrypted value
include_tasks: check_decrypted_secret.yml
Expand Down

0 comments on commit 34555a0

Please sign in to comment.