Expose the ability for a user to create a symlink to a diskimage-builder
virtualenv, this is usually needed when you start trying to version
different virtualenv installs.
Change-Id: I4bc65ffd38c7e37dc0f8a4de0b688f0a94d43e37
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: I24666d652cbb3806b418b7f0fb0839d4bb2614ea
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
When installing diskimage-buider from pip (pypi.python.org) there is
no need to install the build dependencies as we download the wheel.
Change-Id: I8a40bee4701bd72482e10ec5faf054ead26cbddb
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: I0e60ffe109e467d55d76fba4d0eb32e3de05c39f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that zuulv3 is live, we can switch to native ansible jobs.
Change-Id: Idb7b57149def695c73f3d22e6500507e66e9189d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Allow the user to pick the version of python needed for the
virtualenv.
Change-Id: I2e544f8bdd48cdbdb973dec844a2a9b56c473aae
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Clean up our install tasks by using an include.
Change-Id: I66617254524f21c02b97e5eade6ad14688c6249e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Expose the ability for a user to pass a refspec to our git command.
Change-Id: Ic1ead9197367c2aac36c56079215a1999ea9e8e6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There might be a time were we only want run the pre task, so rather
then copying the code into another modules, just allow the user to
override the task list that runs.
Change-Id: I84a4fc0a63e115809e0ca29a919b4fbde0960742
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: I6039ac5e8483084c08fb98adc0ae855af35da0e4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Using the omit template, we can now better control with pip options we
set.
Change-Id: Id675758efbffb7b9a596bab9c0cccb0e1291c82e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We now dynamically include package based on install_method.
Change-Id: Ie8a7102cc1d38651fa565896e4c51d7065462c35
Signed-off-by: Paul Belanger <pabelanger@redhat.com>