Commit Graph

12 Commits

Author SHA1 Message Date
Paul Belanger deb34c3dd3 Create nodepool_pip_virtualenv_symlink variable
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>
2019-03-23 15:34:48 -04:00
Paul Belanger d9a53413cf Clean up punctuation
Change-Id: Id8cb719c8b0117724c6829fab7ed17e839adc4be
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-01-20 16:53:13 -05:00
Paul Belanger 4666971ac5 Switch to molecule for testing
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>
2018-08-19 11:32:19 -04:00
Paul Belanger 48531f50f1 Fix truthy value should be true or false
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>
2018-08-17 12:31:28 -04:00
liusheng 7ef2873b48 Support editable flag to pip installation
This is useful for deploying experimental CI system for testing.

Change-Id: I8f69f0b91c56bdcef125532c2725a00799382a0e
2018-07-03 09:41:42 +08:00
Paul Belanger 164d71110a
Create nodepool_pip_executable variable
Allow the user to override the location of the pip executable.

Change-Id: I47a13c168abcf35eb791ac602532fcea3f0e2a1e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-31 12:01:36 -04:00
Paul Belanger d7e1665f58
Create nodepool_pip_virtualenv_python variable
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>
2017-05-26 22:06:38 -04:00
Paul Belanger 7d719fe355
Add nodepool_task_manager to expose control of tasks
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>
2016-09-03 22:10:30 -04:00
Paul Belanger b624428583
Simplify pip install options
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>
2016-08-31 00:10:05 -04:00
Paul Belanger 91eb254d7d Add LICENSE headers
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-10 09:40:44 -05:00
Paul Belanger c3d5ae9c73 Add nodepool_pip_name variable
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-14 16:18:36 -04:00
Paul Belanger 0b774829e2 Rework install task
Break out install.yaml into sub files to reduce conditional logic.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-30 11:54:27 -04:00