zuul-config/roles/CI-setup/tasks/setup/Fedora.yaml
Graham Whaley 532de2e94b setup: Add distro specific pre-setups
We need to have golang installed as a minimum to run the CI
scripts. Add this as a distro-specific set of files, which
then allows us to:
 - specialise in the future per distro if need be
 - note (fail gracefully) when we run on a new distro
   for the first time.

Note, the distro specific parts are specifically added as a
role as they will not pass the playbook linter if placed
in the playbook tree (they are fragments, and playbooks
are expected to be complete).

Change-Id: Icb675c30a5ddcc5bdbebb7413808a58af4e838b7
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-04-08 17:35:42 +01:00

10 lines
324 B
YAML

- name: Install golang
package:
# It does not really matter which version we install, as long as it
# can 'go get' the test repo, to then run the platform setup scripts,
# which will then ensure we have the correct/necessary version of
# golang installed.
name: golang
state: present
become: yes