Skip to content

Commit

Permalink
configure dmc fix, pull splunk#205
Browse files Browse the repository at this point in the history
  • Loading branch information
bpelaia committed Dec 27, 2023
1 parent 8a2393f commit d29b887
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions roles/splunk/tasks/configure_dmc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
become: true
become_user: "{{ splunk_nix_user }}"
no_log: true
changed_when: peer_add.rc == 0
failed_when: peer_add.rc != 0 and peer_add.rc != 24

- name: Create local dir if it doesn't exist
ansible.builtin.file:
path: "{{ splunk_home }}/etc/apps/splunk_monitoring_console/local"
state: directory
owner: "{{ splunk_nix_user }}"
group: "{{ splunk_nix_group }}"
mode: 0744
become: true
become_user: "{{ splunk_nix_user }}"

- name: Configure monitoring console in auto mode
community.general.ini_file:
Expand Down

0 comments on commit d29b887

Please sign in to comment.