Re-add ruby and package_cloud install to packer 19/2319/3
authorEric Ball <eball@linuxfoundation.org>
Thu, 23 Jan 2020 16:07:52 +0000 (08:07 -0800)
committerEric Ball <eball@linuxfoundation.org>
Thu, 23 Jan 2020 16:34:07 +0000 (08:34 -0800)
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>
packer/provision/local-docker.yaml
packer/requirements.yaml

index 9a33960..fb158e8 100644 (file)
     - include_role: name=lfit.system-update
 
   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:
index a182919..0834195 100644 (file)
@@ -1,2 +1,3 @@
 ---
+- src: geerlingguy.ruby
 - src: gantsign.golang