e75a0fa7d42496a055a54380ef4e6407180c904f
[ci-management.git] / packer / provision / local-docker.yaml
1 # This Ansible playbook adds packages to the
2 # O-RAN-SC build minion image that has Docker.
3 ---
4 - import_playbook: ../common-packer/provision/docker.yaml
5
6 - hosts: all
7   become_user: root
8   become_method: sudo
9
10   pre_tasks:
11     - include_role: name=lfit.system-update
12
13   tasks:
14     - name: 'Install rake gem'
15       command: 'gem install rake'
16       become: true
17
18     - name: 'Install PackageCloud'
19       command: 'gem install package_cloud'
20       become: true
21
22     - include_role:
23         name: fubarhouse.golang
24       vars:
25         go_version: 1.12