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

45 lines
1.4 KiB

---
- name: "Deploy Conf for Instance Splunk"
become: yes
hosts: all:!splunk_uf_Linux
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: SVLCTMLOGPUB02.unit-c.edf.fr
# 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