You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Splunk_Int/Deploy_Conf_Splunk.yml

60 lines
1.7 KiB

---
- name: "Deploy Conf for CLM"
become: yes
hosts: splunk_cluster_master
tasks:
- name: "Deploy Conf to Splunk"
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf-to-CLM.yml
- name: "Deploy Conf for IDX"
become: yes
hosts: splunk_indexer
tasks:
- name: "Deploy Conf to Splunk"
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf-to-IDX.yml
- name: "Deploy Conf for Instance Splunk"
become: yes
hosts: all:!splunk_uf_Linux:!splunk_indexer:!splunk_search_head
tasks:
- name: "Deploy Conf to Splunk"
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf-to-Splunk.yml
- name: "Deploy Conf for Instance Splunk DSMC"
become: yes
become_user: "{{ privileged_user }}"
hosts: splunk_deployement
tasks:
- name: Deploy_Conf_DSMC
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_DSMC.yml
- name: "Deploy Configuration Initial SHC"
become: yes
become_user: "{{ privileged_user }}"
hosts: splunk_search_head
tasks:
- name: Deploy_Conf_SHC_Init
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_SHC_Init.yml
- name: "Restart de fin d'initialisation Splunk"
become: yes
hosts: all:!splunk_uf_Linux
tasks:
- name: Restart_SPL
include_tasks: roles/splunk_deploy/tasks/Restart_SPL.yml
- name: "Deploy Configuration Bootstrap SHC"
become: yes
become_user: "{{ privileged_user }}"
hosts: SPLSH02.jpit.com
tasks:
- name: Deploy_Conf_SHC_BS
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_SHC_BS.yml
# - name: "Arrête de fin de deploiement Splunk"
# become: yes
# hosts: all:!splunk_uf_Linux
# tasks:
# - name: Stop_SPL
# include_tasks: roles/splunk_deploy/tasks/Stop_SPL.yml