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