Skip to content

v2.1.2

Compare
Choose a tag to compare
@belal-i belal-i released this 27 Feb 14:32
· 52 commits to dev/v2 since this release
d0495d4

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 attribute ansible_galaxy_ok, which you can set to make Lampsible install any missing Ansible Galaxy Collections before running the Playbooks. Default value is False. 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 value False. 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