Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issues with configure_dmc.yml #205

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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

- name: Configure DMC as a IDXC member
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