Ansible-bender

Latest version: v0.10.1

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.6.1

Bug fixes

* Make bender work with ansible 2.8.

Minor

* Test bender in vagrant VMs against ansible 2.7 and 2.8.

0.6.0

Features

* You can specify a user to be used during the build process (`--build-user`). (Thanks to 11mariom 122)

Bug fixes

* Bender is able to correctly process multiple build volumes. (Thanks to 11mariom 118)

0.5.3

Thank you for contributions from jamescassell and alexgarel!

Bug fixes

* Bender now correctly picks up all cached layers and does not display an error
message: `Error: could not get runtime: error creating runtime static files
directory /var/lib/containers/storage/libpod: mkdir
/var/lib/containers/storage/libpod: permission denied`. This was coming from
podman so we switched to buildah to perform checks for presence of layers.
* A name of a working container now contains month digits instead of minutes as
one would expect. (How come that no one noticed?)

Minor

* README now contains a bit of documentation for limitations of rootless mode.

0.5.2

Bug fixes

* Workaround an issue with Ansible when SELinux is being used and libselinux
python bindings are not present, ansible-playbook freezes for a couple of
minutes.
* https://bugzilla.redhat.com/show_bug.cgi?id=1696706
* https://github.com/ansible-community/ansible-bender/issues/101

Minor

* Document how to make Ansible roles available during a build if they are on a
custom path.

0.5.1

Bug fixes

* When pushing a build using the `push` command, bender now picks the correct
image with metadata, instead of the last layer.
* Variables are now expanded recursively. This means that when you define a variable in `vars` section, you can use it in other variables.

Minor

* Documentation updates.

0.5.0

Breaking changes

* Option `--labels` was renamed to `--label` to match other container tooling.


Features

* Ansible-bender can now be configured using Ansible variables. For more info,
please [read the documentation](/docs/configuration.md)
* Given this change, base image and target image name are now optional
arguments of the `build` command.
* Bender now uses more candidates when searching for python interpreter in the
base image, namely `/usr/bin/python3.7` and so on.
* You can now set annotations on the target image.
* When bender invokes a playbook against a container, it now changes hosts
variable (in a copy), so that it's not accidentally executed in localhost
environment.
* Json schema is now used to validate input.
* Before starting the build process, bender checks if the container backend
works.


Bug fixes

* When ansible-playbook command uses python 2, bender refuses to continue since
the build will not work.
* Errors are now being properly logged when bender looks for python interpreter
in the base image.
* There was a need for a compatibility fix with buildah 1.7.
* A build will terminate if there was an exception thrown during the caching or
layering process.
* Bender will not try to load non-existent layers from cache.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.