fix: increase default timeout for get_url module
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-12-21 08:42:34 +01:00
parent f43035cf7c
commit 47b2e4bb1e
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 3 deletions

View File

@ -32,7 +32,7 @@
node.kubernetes.io/exclude-from-external-load-balancers: "true"
pre_tasks:
- name: Override host variables
ansible.builtin.set_fact:
set_fact:
k3s_node_ip: "{{ ansible_default_ipv4.address }}"
roles:
- role: xoxys.k3s

View File

@ -35,6 +35,7 @@
url: https://github.com/k3s-io/k3s/releases/download/v{{ k3s_version }}/k3s
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/v{{ k3s_version }}/sha256sum-amd64.txt
dest: /usr/local/bin/k3s
timeout: 30
owner: root
group: root
mode: 0755
@ -71,7 +72,7 @@
notify: __k3s_restart
- name: Copy auto-deploying manifests to the server
ansible.builtin.template:
template:
src: "{{ item }}"
dest: "{{ __k3s_manifests_dir }}/{{ item | basename | replace('.j2', '') }}"
mode: 0644
@ -83,9 +84,10 @@
- not __k3s_installed.stat.exists
- name: Download auto-deploying manifests to the server
ansible.builtin.get_url:
get_url:
url: "{{ item.url }}"
dest: "{{ __k3s_manifests_dir }}/{{ item.dest | default(item.url | basename) }}"
timeout: 30
mode: 0644
loop: "{{ k3s_server_manifests_urls }}"
loop_control: