Skip to content

Commit

Permalink
improved download of the checkmk script from server
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes committed Feb 20, 2024
1 parent e699cf3 commit 4a7850a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
- name: download {{ checkmk_agent_name }} from server
delegate_to: localhost
check_mode: false
run_once: true
ansible.builtin.get_url:
url: "{{ checkmk_proto }}://{{ checkmk_hostname }}/{{ checkmk_path }}/{{ checkmk_agent_name }}"
dest: "{{ _local_tmp }}/{{ checkmk_agent_name }}"
force: false
mode: 0600
mode: "0600"

- name: copy {{ checkmk_agent_name }} from {{ _local_tmp }}
ansible.builtin.copy:
Expand Down

0 comments on commit 4a7850a

Please sign in to comment.