[builde servers] Update manifest-tool URL 55/64355/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 31 Oct 2018 22:08:55 +0000 (15:08 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 31 Oct 2018 22:08:55 +0000 (15:08 -0700)
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>
utils/build-server-ansible/main.yml

index 1df8a04..a4d3b08 100644 (file)
@@ -41,6 +41,6 @@
       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'