The fact returned for 'ansible_architecture' is 'x86_64' for non-ARM
servers. Hard coding this now in order to pull the correct URL of the
manifest tool.
When arm build servers are included in this list we'll set a fact for
the architecture needed in the URL.
Change-Id: I1c89e8a87cc7f2ae386973f3f1088f881ae5df71
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
when: ansible_distribution == "Ubuntu"
- name: Install manifest-tool
get_url:
- url: '{{ manifest_tool_url }}/{{ manifest_tool_version }}/manifest-tool-linux-{{ facter_architecture }}'
+ url: '{{ manifest_tool_url }}/{{ manifest_tool_version }}/manifest-tool-linux-amd64'
dest: '{{ manifest_tool_bin_dir }}/manifest-tool'
mode: '755'