Otherwise, we cannot get the token properly from the secret.
Change-Id: I5d2b761fbc94aab6077653b0bd2c209c53dbd322
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
ensure-python allows for installation of a specific version of
the python interpreter and development files. Add this role to
tox pre.yaml.
Change-Id: Ia56cba58c87aa48de3e8e3f3d28f6252f7dcd7c3
The install-docker role was installing the wrong package name for distro
package based installations. docker-engine is ancient on debuntu and
appears to be called docker.io on both debian and ubuntu supported
releases now. Go ahead and install docker.io on the Debian family of
distros and docker on everything else (fedora, centos, suse, etc).
Change-Id: I0d7a9b8257bd6db86bc6e3d8bb3d6c3c021d7954
Ansible Galaxy has the ability for user to import roles into it. This
role will leverage the ansible-galaxy CLI command to do this. We'll
login via a github token (sorry only method) then trigger an import on
the remote API server.
Change-Id: I959c3051403929ef4927cf23fdbef14b45294aa2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Users of this role may want to pass extra arguments, such as the
--universal flag. Those arguments need to come after the bdist_wheel
argument to setup.py so that the command line processor understands them.
Change-Id: I38a3ef28b2c78821ec81a3f1adf0cfeef946d98f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
So that the syntax check which runs on playbooks can find zuul_return.
Add re2 library to bindep, it's needed for zuul.
Change-Id: I93213ee19652c0ec9f4bc699204e9445a1e891c8
find is used instead of ls as we can select the 'link' type with find
only the link type is needed because files do not have interface
properties and directories are not used for this area of /sys
As an example, the bonding_masters exists in /sys/class/net/ as a file
without any 'subdirectory' of information to it.
Change-Id: Id31fcfb858c6abff4d44444e019f0d48e4f3c671
This is so jobs like tox-docs are properly able to append information
with success-url.
Change-Id: Iabd967d8956d18727890823526064fb80f1b12ab
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This task may be failing when ansible_hostname is not available:
The task includes an option with an undefined variable.
The error was: 'dict object' has no attribute 'ansible_hostname'
Change-Id: I8d67d8aa284b6ce9ae012608e8f1b12784ce836b
This implements a module to directly interact with the ssh-agent
so that the master key may be removed from the ssh-agent without
removing any per-project keys.
Change-Id: Ife91ad8afa9b41b0e779a832e298aca8d61ae98b
This captures some discussion over the scoping of variable names
during some recent role development. It tries to provide some
guidelines to prefixing of global variable names in roles and
"module-like" roles.
Since "deprecation.rst" is now holding a few different things, it
makes more sense as "policy.rst".
Reorganise to be nested in one more level, and add a contents section
to help find sections easier.
Change-Id: I0d551eefd33744ffa23418d0780769a7e52fe9cf
This is also a variable which may be important to copy over to
a new inventory in order for ansible to function correctly.
Change-Id: I7f4f1b2c631a4a02c258c9f518cd19511fa118da
The build-sphinx job uses compile and test bindep profiles, update tox-docs to use the same.
tox-docs used to run tools/test_setup due to inheriting from unittests,
remove that inheritance since we do not need it.
Update role bindep to have a default for zuul_work_dir. If this role is
used without unittests, zuul_work_dir is unset.
Change-Id: I5df8b9cd90bf5e4f4c84c7b4514fb9c575898e31