Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion roles/cli/cachetool/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
ansible.builtin.file:
path: "{{ cachetool_bin }}"
state: absent
when:
- deploy_operation == 'deploy'

- name: Download cachetool depending on latest php version installed. # If not specified manually, according to https://github.com/gordalina/cachetool#compatibility
block:
Expand Down Expand Up @@ -64,7 +66,7 @@
- deploy_operation == 'deploy'
- cachetool.version | length == 0

- name: "Download cachetool version {{ cachetool.version }} installer."
- name: "Download the specified {{ cachetool.version }} cachetool version installer."
ansible.builtin.get_url:
url: "http://gordalina.github.io/cachetool/downloads/cachetool-{{ cachetool.version }}.phar"
dest: "{{ cachetool_bin }}"
Expand Down