Skip to content

Commit 5001f66

Browse files
authored
add mode to ansible get-url (#529)
1 parent 8885dea commit 5001f66

7 files changed

Lines changed: 7 additions & 0 deletions

File tree

execute_adhoc_plays.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
url: "{{ playbook }}"
55
dest: "{{ '/opt/container_artifact/' + playbook|basename }}"
66
force: yes
7+
mode: 0666
78
ignore_errors: yes
89
register: downloaded_plays
910
when:

roles/splunk_common/tasks/enable_dsp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
dest: "{{ splunk.home }}/etc/auth/DigiCertGlobalRootCA.pem"
77
owner: "{{ splunk.user }}"
88
group: "{{ splunk.group }}"
9+
mode: 0666
910

1011
- name: Set root CA
1112
ini_file:

roles/splunk_common/tasks/install_apps.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
update: "true"
1212
filename: "true"
1313
auth: "{{ splunkbase_token }}"
14+
mode: 0666
1415
body_format: "form-urlencoded"
1516
status_code: [ 200, 201 ]
1617
timeout: 300

roles/splunk_common/tasks/install_splunk_tgz.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
group: "{{ splunk.group }}"
77
headers: '{% if splunk.build_url_bearer_token %}{"Authorization": "Bearer {{ splunk.build_url_bearer_token }}"}{% else %}{}{% endif %}'
88
validate_certs: no
9+
mode: 0666
910
when: splunk.build_location is match("^(https?)://.*")
1011
register: download_result
1112
become: yes

roles/splunk_common/tasks/java_tasks/install_openjdk9_jdk_windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
url: "https://download.java.net/openjdk/jdk9/ri/jdk-9+181_windows-x64_ri.zip"
55
dest: /home/splunk/
66
timeout: 30
7+
mode: 0666
78
register: download_result
89
until: download_result.status_code == 200
910
retries: "{{ retry_num }}"

roles/splunk_common/tasks/java_tasks/install_oracle8_jdk.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Cookie: oraclelicense=accept-securebackup-cookie
77
dest: /opt/container_artifact
88
timeout: 90
9+
mode: 0666
910
register: download_result
1011
until: download_result.status_code == 200
1112
retries: "{{ retry_num }}"

roles/splunk_common/tasks/licenses/add_license.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
url: "{{ lic }}"
55
dest: "{{ splunk.license_download_dest }}"
66
timeout: 20
7+
mode: 0666
78
when: lic is match("^(https?|file)://.*")
89
register: downloaded_license_path
910
ignore_errors: yes

0 commit comments

Comments
 (0)