ligne initial disk #

master
admingit 1 year ago
parent f4917e663d
commit 87edc3338f

@ -3,15 +3,15 @@
# - name: Gathering Facts
# include_tasks: roles/splunk_common/tasks/pre_install_subtasks/config_lvm_idx.yml
- hosts: splunk_cluster_master
tasks:
- name: Gathering Facts
include_tasks: roles/splunk_common/tasks/pre_install_subtasks/config_lvm_other.yml
#- hosts: splunk_cluster_master
# tasks:
# - name: Gathering Facts
# include_tasks: roles/splunk_common/tasks/pre_install_subtasks/config_lvm_other.yml
- hosts: splunk_search_head
tasks:
- name: Gathering Facts
include_tasks: roles/splunk_common/tasks/pre_install_subtasks/config_lvm_other.yml
#- hosts: splunk_search_head
# tasks:
# - name: Gathering Facts
# include_tasks: roles/splunk_common/tasks/pre_install_subtasks/config_lvm_other.yml
- hosts: all_splunk_instances:!splunk_uf_Linux:!splunk_uf_Windows
tasks:

@ -4,12 +4,15 @@
privileged_user: "{% if ansible_system is match('CYGWIN*|Win32NT') %}Administrator{% else %}root{% endif %}"
- name: Copier la sources sur le client
get_url:
url: "https://{{ repo_url }}/{{ projet }}/{{ app_name }}"
dest: /tmp/
username: "{{ repo_user }}"
password: "{{ repo_password }}"
validate_certs: false
become: yes
become_user: root
shell: scp admin@10.10.40.21:{{ splunk_build_location }} /tmp/
# get_url:
# url: "https://{{ repo_url }}/{{ projet }}/{{ app_name }}"
# dest: /tmp/
# username: "{{ repo_user }}"
# password: "{{ repo_password }}"
# validate_certs: false
- name: "Check for existing installation"
stat:

Loading…
Cancel
Save