Skip to content

Commit

Permalink
fixes problems with AAP setup downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
snagoor committed Oct 20, 2023
1 parent 98814a4 commit 56d7e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/aap_setup_download/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

- name: Simplify the list of possible downloads
ansible.builtin.set_fact:
__aap_setup_down_images: "{{ __aap_setup_down_output.json.body | sort(attribute='datePublished', reverse=True) }}"
__aap_setup_down_images: "{{ __aap_setup_down_output.json.body | selectattr('filename', 'match', 'ansible-automation-platform-setup') | sort(attribute='datePublished', reverse=True) }}"

- name: Downloading the latest installer of type {{ aap_setup_down_type }}
ansible.builtin.get_url:
Expand Down

0 comments on commit 56d7e11

Please sign in to comment.