Commit Graph

17 Commits

Author SHA1 Message Date
Paul Belanger 5929076e98 Fix deprecation warning
Depends-On: https://review.opendev.org/702969
Change-Id: I501ac43f643e47603885dc006049e2b7e0381866
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-04-29 14:10:59 +00: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 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
Paul Belanger 4223967465
Pass list of packages directly to package task
There is no need to loop over the list of packages, this is actually
slower.

Change-Id: I38361ccc9a5c84b8d2cff8fe813475e115e47bf0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-14 16:39:37 -04:00
Paul Belanger 407d827893
Default nodepool_pip_executable to pip3
Moving forward, we'll only support nodepool under python3.

Change-Id: If0f9ed013819b68601e28ecfbeffa40a41d19ebc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-12 20:08:25 -04:00
Paul Belanger 6a95700860
Don't install nodepool_build_depends for pip
When installing nodepool from pip (pypi.python.org) there is no need
to install the build dependenies as we download the wheel.

Change-Id: I60c87135e8d5d83c3bf810835e18926d2ad0e103
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-12 18:31:58 -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 1bdf8d2bd6
Remove epel-release / python-pip from role
These are dependencies our role requires. As such, they should be
installed by the user.

Change-Id: I924799a57ae83bdde7b358e81d6d948d18b9b8ab
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-09-03 21:52:00 -04:00
Paul Belanger c438e59ae9 Fix deprecation warning
Change-Id: Ie0417b4d8ea72c74f0af0cd59ea486f45101e67b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-25 17:57:19 -04:00
Paul Belanger 974a87c693 Simplify nodepool_install_method include
Change-Id: If06cd898451b7b119e422a17a5d0908c7ba49432
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-15 09:33:58 -05:00
Paul Belanger e0a2e1eca3 Switch to package module
Change-Id: I816452f7768145c0fe6f54a2c8975fa80a5c1e0f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-01-28 12:23:38 -05: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 445317fe2a Depend on ansible-role-diskimage-builder
Break out diskimage-builder into its own role. This will allow the
user to better control diskimage-builder settings.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-14 15:18:25 -04:00
Paul Belanger a97239472a First pass for configuration
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-03 15:53:36 +00:00
Paul Belanger ce1722f21d Initial support for CentOS 7 host
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-30 14:58:49 -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
Paul Belanger 16fffcdcbc Initial commit
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-28 21:08:14 -04:00