diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2020-02-20 09:41:31 -0600 |
---|---|---|
committer | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2020-02-20 09:41:31 -0600 |
commit | ec50d495850a128f911148c53d9b91cb88551cbd (patch) | |
tree | bd81cc6cb588b6c25d2aacda03f00c125c8304d0 /packer/provision | |
parent | c817f6693a96707e4d2e824044de0273eedfb89e (diff) |
Fix PackageCloud install on Ubuntu
The new images don't have PackageCloud installed. This change is to
install PackageCloud on Ubuntu 16.04 and 18.04
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: I142cecacc947bbddd82f42dbfffeb1fb2b36298d
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/local-builder.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml index bcdf512eb..e5af263a7 100644 --- a/packer/provision/local-builder.yaml +++ b/packer/provision/local-builder.yaml @@ -137,6 +137,12 @@ when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04' become: true + - name: 'Install PackageCloud' + command: 'gem install package_cloud' + # yamllint disable-line rule:line-length + when: ansible_distribution == 'Ubuntu' + become: true + - name: 'Install FD.io Required CentOS 7 Packages' yum: name: |