Skip to content

Commit

Permalink
common: fix issue in extract archive skipping logic
Browse files Browse the repository at this point in the history
  • Loading branch information
rpelisse committed Sep 27, 2023
1 parent 05a2817 commit 9dc967b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/amq_streams_common/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
when:
- not amq_streams_common_offline_install is defined or not amq_streams_common_offline_install

- name: "Load metadata on {{ amq_streams_common.archive.install_dir }}."
- name: "Load metadata on {{ amq_streams_common_install_dir }}."
ansible.builtin.stat:
path: "{{ amq_streams_common_home }}/bin"
path: "{{ amq_streams_common_install_dir }}/{{ amq_streams_common_subdir | default('bin') }}"
register: download_target

- name: "Extract artifact to {{ amq_streams_common_install_dir }}"
ansible.builtin.unarchive:
src: "{{ amq_streams_common_download_dir }}/{{ amq_streams_common_archive_file }}"
dest: "{{ amq_streams_common.archive.install_dir }}"
dest: "{{ amq_streams_common_install_dir }}"
owner: "{{ amq_streams_common_user | default(omit) }}"
group: "{{ amq_streams_common_group | default(omit) }}"
remote_src: "{{ amq_streams_common_download_remote_src | default('no') }}"
Expand Down

0 comments on commit 9dc967b

Please sign in to comment.