1 # This Ansible playbook adds packages to the
2 # O-RAN-SC build minion image that has Docker.
4 - import_playbook: ../common-packer/provision/docker.yaml
12 gopath: '/opt/go/{{golang_version}}/bin'
15 - include_role: name=lfit.system-update
19 name: geerlingguy.ruby
23 ruby_install_bundler: false
24 ruby_install_from_source: true
27 - name: 'Install PackageCloud'
28 command: 'gem install package_cloud'
36 - name: Add Go to Ubuntu path
38 path: /etc/environment
39 regexp: 'PATH=(["]*)((?!.*?{{gopath}}).*?)(["]*)$'
40 line: 'PATH=\1\2:{{gopath}}\3'
42 when: ansible_distribution == 'Ubuntu'