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.
60 lines
1.7 KiB
60 lines
1.7 KiB
---
|
|
- name: "Deploy Configuration 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 Configuration 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: SVLCTPLOGPUB02.mom.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
|
|
|
|
- name: "Récupération du trusted.pem"
|
|
become: yes
|
|
hosts: splunk_deployement
|
|
tasks:
|
|
- name: Backup_Keys_DSMC
|
|
include_tasks: roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml
|
|
|
|
- name: "Copie du trusted.pem"
|
|
become: yes
|
|
hosts: all:!splunk_uf_Linux:!splunk_deployement
|
|
tasks:
|
|
- name: Deploy_Keys_to_others
|
|
include_tasks: roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml
|