Re-add ruby and package_cloud install to packer
Removal of these was based on a faulty assumption. They still need to
be present.
Issue: LF-Jira IT-18593
Change-Id: Ic1f14e4e177b73ae07186153c8b72d81f95455ec
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml
index 9a33960..fb158e8 100644
--- a/packer/provision/local-docker.yaml
+++ b/packer/provision/local-docker.yaml
@@ -12,6 +12,19 @@
tasks:
- include_role:
+ name: geerlingguy.ruby
+ vars:
+ ruby_install_gems:
+ - rake
+ ruby_install_bundler: false
+ ruby_install_from_source: true
+ ansible_become: true
+
+ - name: 'Install PackageCloud'
+ command: 'gem install package_cloud'
+ become: true
+
+ - include_role:
name: gantsign.golang
vars:
golang_version: 1.12
diff --git a/packer/requirements.yaml b/packer/requirements.yaml
index a182919..0834195 100644
--- a/packer/requirements.yaml
+++ b/packer/requirements.yaml
@@ -1,2 +1,3 @@
---
+- src: geerlingguy.ruby
- src: gantsign.golang