Expose the ability for a user to create a symlink to a nodepool
virtualenv, this is usually needed when you start trying to version
different virtualenv installs.
Change-Id: Id77609f696dcd4083001a101fdd22ba1634f4617
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Molecule is the defacto testing tool for ansible roles. Switch to it to
make it easier for users to test.
Change-Id: I881e895877c9702e62c4415d48b0f33f34f7487b
Depends-On: https://review.openstack.org/593369
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
While testing out molecule, the following warnings were raised with its
linter. Lets fix them to keep it happy.
Change-Id: I698f65daa58822f7befc72b9dcbf1f2d668cab02
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Allow the user to override the location of the pip executable.
Change-Id: I47a13c168abcf35eb791ac602532fcea3f0e2a1e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This allows the user to pick the version of python used for the
virtualenv.
Change-Id: I20c513baf06a289ca8920658384042620a52627e
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: I15f58454607c5c56f9bb092036a656618b6b3c20
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Using the omit template, we can now better control which pip options
we set.
Change-Id: I182dec217f88da846488e497b062920e2a72a2d9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>