We can move to bionic as there are no issues, also allows us to save CI
resources.
Change-Id: I68e6a7fbf6d68e8721fadbee65222aae384ac8a0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This will make upgrading fedora nodes easier for openstack-infra.
Change-Id: Ib45516ae55a3622fa0705fa31868807f399b1b5e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Currently 2.4.0 is the oldest release of ansible, everything later is
EOL. Update our meta data into include this and the platforms we
currently tests with.
Change-Id: Iea11f4401aa48b87f43da02faab3e47cdee1353e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There is no need to loop over the list of packages, this is actually
slower.
Change-Id: I0efdfbe3ba066ccab4bf3e3ff661bcba088984e1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We want to encourge users to use the released versions of shade, so
flip the switch to pip. We still support git and will continue to
test against it.
Change-Id: I7c18dc43ff136eeffdeef9e9ce970d7365b165fb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Because we want users to support both pip / git install methods,
refactor testing to support the testing of that.
Change-Id: I518b5e39921bde0aa68a40c30e2390afc0d886db
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Moving forward, we'll only support shade under python3. While shade
still supports python2, this role will only support python3.
Users still have the ability to install python2, but will need to do
more work to make that happen.
Change-Id: I2970b76db9dc6badb9e720e5795abcda761fb2d4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We'd like to default to python3 for our role, but centos-7 doesn't
currently support it. We already test with the latest fedora, which
should give us coverage until centos figures out python3 support.
Change-Id: Id0923e1bdb7eb72694aab5c1c61cc9829f3a4eb9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Expose shade_pip_executable to allow user to specific version of
pip.
Change-Id: I2d8c5316cd5c891bda5fa3c3dc2de813c8a5e49b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We can clean up our install tasks by using an include.
Change-Id: Ic206d855bc51db07d5f64717e384a98b710efa70
Depends-On: https://review.openstack.org/560232
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We have nodes online in openstack-infra, so lets start using them.
Change-Id: I0f2a607622ba87f7e2f4aa7c797f2e4a445aab1b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Stop using /opt folder to store the location of git checkout. We don't
actually need to be root user to do that.
Change-Id: Ifc530e66ec886d094c5a3b3cd6078270439cd301
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I9c1d21d04f9242e05ab7a7f836260fb18738349d
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated. Update references
to include the extension.
Change-Id: Ie726f3379db1e2fea09a38c04150f4abb1b65fc9
It is possible, in the case of zuulv3, git repos are already on disk.
As a results, we don't want to update them.
Change-Id: I902e287e00c231f36935c1cea212f043e3bca6ef
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This allows the user to choose which version of python to use in the
virtualenv.
Fix testing to use ansible_connection=ssh
Change-Id: Id2505dfd949e72f603f3db692a7dbc59912b1b59
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We dont' want our roles managing ansible dependencies, that will be up
to the user.
Change-Id: I86de314b85c881b3abb7001bd34be8187ad7eddd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Our previous way of doing becomes with include is no longer supported
by ansible. Switch to the supported way of handling becomes.
Change-Id: Ia213305fd874251b7abc6ee12c7058a7b459b61b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Both connection local and 127.0.0.1 have special meaning for ansible,
where will use the local filesystem vs SSH to the loopback adapter.
So, we use 127.0.0.2 to force ansible to make an SSH connection.
Change-Id: I642b1d409cbb683960b83e3582ac9fb53ffc6f81
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Using the omit template, we can now better control which pip options
we set.
Change-Id: I8ef6c7bad92c5cae0ac00945e6ab94d9322c0097
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
These are dependencies our role requires. As such, they should be
installed by the user.
Change-Id: I71275b1de839834e9217534229b6e50aa66934bd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This will allow us to better control the dependencies installed in the
openstack CI gate.
Change-Id: Icc58fb455db9b20ab839e3ec30d75a51ec8fed80
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
A lot of this code is based on ansible-role-diskimage-builder.
Change-Id: I8012688ee16635d743d1af9aa7b43f084e5e9237
Signed-off-by: Paul Belanger <pabelanger@redhat.com>