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
13 gopath: "/opt/go/{{golang_version}}/bin"
16 - include_role: name=lfit.system-update
20 name: geerlingguy.ruby
24 ruby_install_bundler: false
25 ruby_install_from_source: true
27 ruby_download_url: http://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.gz
30 - name: "Install PackageCloud"
31 command: "gem install package_cloud"
39 - name: Add Go to Ubuntu path
41 path: /etc/environment
42 regexp: 'PATH=(["]*)((?!.*?{{gopath}}).*?)(["]*)$'
43 line: 'PATH=\1\2:{{gopath}}\3'
45 when: ansible_distribution == 'Ubuntu'