v2.1.2
This is mainly a bugfix release, to make it possible to install missing Ansible Galaxy Collections when using Lampsible as a Python library.
Bugfix
- #24 : Now, the
Lampsible
class takes the boolean attributeansible_galaxy_ok
, which you can set to make Lampsible install any missing Ansible Galaxy Collections before running the Playbooks. Default value isFalse
. This way, it's now possible to use Lampsible as a Python library without having to first install the Collections.
Refactor
- Improve the handling of the return code in method
Lampsible.run
. - Add the attribute
Lampsible.interactive
, with default valueFalse
. The reason is now primarily the Ansible Galaxy use case, but there is some potential to build on this in a future version.
Installing/upgrading: pip install --upgrade lampsible
PyPI-release: https://pypi.org/project/lampsible/2.1.2/
Full Changelog: v2.1.1...v2.1.2