Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion roles/splunk/tasks/configure_dmc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Check splunk
include_task: check_splunk.yml
include_tasks: check_splunk.yml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
include_tasks: check_splunk.yml
ansible.builtin.include_tasks: check_splunk.yml


- name: Configure DMC as a IDXC member
include_tasks: configure_idxc_sh.yml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
include_tasks: configure_idxc_sh.yml
ansible.builtin.include_tasks: configure_idxc_sh.yml

Expand All @@ -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