Skip to content

Latest commit

 

History

History
878 lines (614 loc) · 18.9 KB

CHANGELOG.rst

File metadata and controls

878 lines (614 loc) · 18.9 KB

Ansible Podman modules and plugins Release Notes

Topics

  • Update docs

Bugfixes and new modules

  • podman_container - Add support for health-on-failure action
  • podman_image -Add target support for podman build image
  • podman_play - Add build and context_dir option to podman_play
  • podman_pod - Add options for resource limits to podman_pod
  • Fix common file for Python 2.7
  • podman_network - Do not force network removal by default
  • podman_network - Fix network DNS enable idempotency issue
  • podman_pod - Fix idempotency when running inside Podman container
  • containers.podman.podman_container_exec - Executes a command in a running container
  • containers.podman.podman_runlabel - Run given label from given image

Bugfixes and new options for modules

  • podman_container - Add diff and change detection to systemd generation
  • podman_container - Add example with quotes in command to docs
  • podman_container - Fix healthcheck issue where defined in image
  • podman_container - Fix idempoency issue with PID of container
  • podman_container - Fix idempotency for RestartPolicy when MaximumRetryCount
  • podman_container - Fix idempotency for devices
  • podman_container - Fixed idempotency with cpus parameter
  • podman_container - Improve docs about container env_file on remote machine
  • podman_container - added cpu_quota parameter to podman_container
  • podman_export,podman_import - Adding volume import and export option
  • podman_generate_systemd - Add a force field to podman_generate_systemd
  • podman_image - Add restart-sec and other options to systemd generation
  • podman_image - Fix pulling short image name

Bugfixes and docs changes

  • Add hooks-dir parameter for containers
  • Add idempotency for restart-policy for containers
  • Add missing options to podman network
  • Add more explanation about cmd_args command usage
  • Add stdout to podman build and push actions
  • Added support for "userns" parameter to "play" module
  • CI - fix pip installation of the collection
  • CI - fix podman play job for 4.4.x versions
  • Change yes/no to true/false in the modules
  • Convert str to json format before evaluating length.
  • Fix CI for newest Ansible branch 2.16
  • Fix idempotency for pods with uidmap and gidmap
  • Fix idempotency lowercase for devices
  • Fix network tests for Podman v4
  • Fix podman logout tests for v4
  • Fix pylint issues for CI ansible-test
  • Fix undesirable splitting of IPv6 host addresses
  • Improved documentation of podman_generate_systemd module
  • Prepare CI for Podman v3 backward compatibility
  • Support SHA256 tag for podman images
  • Update podman_image to specify CPU arch when pulling image
  • added podman_prune module
  • become plugin podman_unshare become_user default
  • fix for buildah improper remote target
  • for pod kube recreate
  • pod - Support passing multiple networks with params
  • podman-login - fix FIPS md5 issue and registry requirement
  • podman-pod - Fix idempotency for pods in 4.4.x versions
  • podman_systemd - Ignore header when comparing systemd files content

Bugfixes and minor docs changes

  • Add missed docs for modules
  • podman_systemd_generate - allow empty string for prefixes
  • podman_unshare - Fix docs for podman_unshare become plugin

New modules, become plugin and bugfixes.

  • New become plugin - podman_unshare
  • Podman generate systemd module
  • Add --sdnotify option for container
  • Add example unittest for container lib
  • Add protection for systemd files deletion
  • Add unittests for Ansible Podman modules
  • Check for gha updates weekly using dependabot
  • Fix PEP8 issue in podman_image
  • Fix building image with buildah and become
  • Fix docs issues in podman_image
  • Warning about improperly configured remote target
  • add required argument to example
  • docs - added simple extra_args example
  • generate_systemd - implement --wants, --after and --requires
  • podman_image - add file parameter for Containerfile location
  • Delete systemd files when container/pod is deleted
  • Fix example in systemd generate module
  • Fix expanduser in path for systemd generation
  • Fix idempotency for labels in pods
  • Fix podman load module for Podman 4
  • Fix rerunning playbooks with generate_systemd --new
  • Improve idempotency for devices mount of rootless podman
  • Improve networks idempotency for v4
  • Support passing multiple networks with params
  • fix pod running status for older podman versions
  • podman_container should ensure image by using os path if rootfs is used

Bugfixes and minor changes

  • Remove distutils as deprecated
  • Run CI on Ubuntu 22.04
  • Use 2.13 Ansible version in CI jobs instead of 2.11
  • connection_podman - Add missing docstring for method that executes the podman commands
  • podman_container - Change IpcMode default to shareable
  • podman_container - Disable memory idempotency
  • podman_container - Fix typo in the documentation
  • podman_image - Update podman_image to remove image with image id
  • podman_load - Loop over image names when multiple images present in archive
  • podman_login - Fix idempotency for podman_login
  • podman_network - Allow specify podman_network options MTU and VLAN separately
  • podman_network - Fix internal networks idempotency
  • podman_play - Fix play_kube not working when yaml not installed on target
  • podman_play - Pass errors as a string instead of list
  • podman_pod - Change network attribute from str to list in pods
  • podman_pod - Fix pod network idempotency
  • podman_pod - Fix pod tests in CI
  • podman_pod - Fix pods list retrieve

Bugfixes and minor changes

  • Fix sanity issues with a new Ansible version
  • Remove idempotency for log level

Bugfixes and new requires option for podman_container

  • Add requires option to podman_container module
  • Add slirp4netns idempotency for pods
  • Fix MAC address detection in created container
  • Fix check for read-only change of root image in podman_container module
  • Fix error with exitcommand for Podman v4
  • Fix issue when missing plugins entry in podman_network module
  • Fix new requirements for plugins documentation
  • Fix podman collection for Podman version 4
  • Fix tests for podman_container module
  • Strip slashes from volumes

Bugfixes and new options for Pods

  • Add new options for pod module
  • Use yaml syntax highlighting where appropriate
  • Fix podman_pod_lib behavior for ports published to multiple IPs
  • Handle tlsverify correctly in podman_login
  • Update secrets description and add test with secret opts

New podman_tag module and fixes

  • Add podman_tag module
  • Add secrets driver and driver opts support
  • Add a second example to podman_pod_module.html
  • Don't include shared 'net' if network is host in pods
  • containers.podman.podman_tag - Add an additional name to a local image

Bugfixes

  • Add documentations for generate_systemd
  • Hardcode RT signal numbers
  • Remove default value of log-driver
  • Support --new in generate_systemd

Fixes for various modules

  • Add option for ansible-core in RPM spec file
  • Add skip option for podman secret
  • Add support for network-alias flag
  • Allow to actually pass a list of string for "mounts"
  • Don't add newlines to secrets
  • Fix issue with podman and exposed ports
  • Fix signal diff for truncated and RT signal names
  • Support empty strings in prefixes
  • Update error message when pull set to false

Fixes for systemd units generation

  • Add .service extension to systemd files
  • Add aliases for image load/save
  • Change python version for ansible-core to 3.9
  • Fix suboption key in podman_container/podman_pod for generate_systemd documentation

New modules for images and containers

  • Add systemd generation for pods
  • Generate systemd service files for containers
  • containers.podman.podman_export - Export a podman container to tar file
  • containers.podman.podman_import - Import Podman container from a tar file
  • containers.podman.podman_load - Load image from a tar file
  • containers.podman.podman_save - Saves podman image to tar file

Bugfixes and new features

  • Add support for podman pod create --infra-name
  • Fix idempotency when containers have a common network
  • Remove idempotency leftovers of volumes GID,UID

New module - Podman secret

  • Podman secret module
  • containers.podman.podman_secret - Manage podman secrets

Bugfixes for idempotency and pipelining

  • Add meta/runtime.yml which is required for Galaxy now
  • Avoid exposing pipelining support for podman connections
  • Change present state to be as created state
  • Disable no-hosts idempotency
  • Fix idempotency with systemd podman files
  • Remove idempotency for volume UID/GID

Bugfix for podman_container_info

  • Fix failure when listing containers

New module podman_play for playing Kubernetes YAML and bugfixes

  • Add Ansible 2.11 to all tests and use Ubuntu 20.04
  • Add Ansible 2.11 to testing
  • Add RPM building scripts
  • Add support for timezones in containers
  • Fix ansible-test issues for CI
  • Fix idempotency for environment
  • Fix ipv6=false issue
  • Fix multi-containers options
  • Fix overlayfs issue in CI for buildah connection
  • containers.podman.podman_play - Play Kubernetes YAML files with Podman

New module - Podman login

  • Podman login module
  • containers.podman.podman_login - Login to a container registry using podman

Additional fixes for newest version 3 of Podman

  • Add IPv6 support for publishing ports
  • Add sigrtmin+3 signal (required for systemd containers)
  • Add support for Podman Pod restart
  • Convert IPv6 to shorten form
  • Fix error with images info where no images
  • Fix idempotency for rootless networks from v3
  • Fix no_log for newer ansible-test
  • Fix uppercase labels idempotency issue
  • Stop pods without recreating them

Fixes for newest version 3 of Podman

  • Attempt graceful stop when recreating container
  • Don't calculate image digest in check mode
  • Fix internal networks and DNS plugin for v3
  • Fix podman_pod* modules for Podman v3
  • Fixes for podman_container for Podman v3

Documentation fixes and updates

  • Add docs generation
  • Update documentation

Bugfixes for podman container

  • documentation - Add docs to Github
  • podman_container - Add 'created' state for podman_container
  • podman_container - Change default log level for 3+ versions
  • podman_container - Convert systemd option to a string
  • podman_container - Don't recreate container if env_file is specified
  • podman_container - Fix 'cap_add' and 'cap_drop' idempotency
  • podman_container - Fix idempotency for multiple ports
  • podman_container - Fix slirp4netns options idempotency
  • podman_container - Fix uid/gid checks for podman 1.6.4 volumes
  • podman_container - Handle slash removals for root volumes mount
  • podman_container - Restart container in a simple manner
  • podman_container - podman_container_lib - fix command idempotency
  • podman_image - Add debug log and podman_actions to podman_image
  • podman_image - Don't set default for validate-certs in podman_image

Bugfixes for podman container

  • podman_container - Convert gidmap to list for podman_container
  • podman_container - Convert log-opts to dictionary and idempotent

New modules and bugfixes, new network options

  • podman_container - Add log level for Podman in module
  • podman_container - Add mac_address field to podman_container module
  • podman_container - Add strict image compare with hashes
  • podman_container - Improve compatibility with docker_container by adding aliases
  • podman_container - Move containers logic to module utils
  • podman_image - reuse existing results in present()
  • podman_network - Add IPv6 to network
  • podman_network - Add support of network options like MTU, VLAN
  • podman_pod - Move pod logic to separate library
  • podman_container - Fix force restart option for containers
  • podman_container - Fix idempotency for volume GID and UID
  • podman_container - Fix no_hosts idempotency for newer version
  • podman_container - Remove 'detach' when creating container
  • podman_image - Fix doc defaults for podman_image
  • podman_logout - Handle podman logout not logging out when logged in via different tool
  • podman_network - Correct IP range example for podman_network
  • containers.podman.podman_containers - Manage multiple Podman containers at once
  • containers.podman.podman_login_info - Get info about Podman logged in registries
  • containers.podman.podman_logout - Log out with Podman from registries

bugfixes

  • podman_container - Fix signals case for podman_container

bugfixes

  • multiple modules - fix diff calculation for lower/upper cases
  • podman_container - Add note about containerPort setting
  • podman_container - Fix init option it's boolean not string
  • podman_container - Remove pyyaml from requirements
  • podman_network - Check if dnsname plugin installed for CNI
  • podman_volume - Set options for a volume as list and fix idempotency

New podman_network module and bugfixes

  • Create podman_network module for podman networks management
  • podman_volume - Fix return data from podman_volume module
  • containers.podman.podman_network - Manage Podman networks

Add changelog file.

  • Add changelog file to collection.

Pip install and minor fixes.

  • Add pip installation for podman collection.

Idempotency fixes for podman containers.

  • podman_container - Fix idempotency for case with = in env
  • podman_container - Fix issue with idempotency uts, ipc with pod

Urgent fix for podman connection plugin.

  • podman_connection - Chown file for users when copy them to container

New modules for volumes management.

  • Create podman_volume module for volumes management
  • podman_volume_info - Improve podman volume info tests with new module
  • containers.podman.podman_volume - Manage Podman volumes

New modules for pods management.

  • Add podman pod and pod info modules
  • podman_container - Fix idempotency for networks and add tests
  • containers.podman.podman_pod - Manage Podman pods
  • containers.podman.podman_pod_info - Retrieve information about Podman pods

Idempotency and another bugfixes for podman connection plugin.

  • podman_connection - Add check for empty dir for podman connection mount
  • podman_connection - Increase verbosity for mount failure messages
  • podman_container - Improve idempotency for volumes with slashesAdd idempotency for ulimits and tests
  • podman_container - Improve ports idempotency and support UDP

Idempotency and Podman v2 fixes

  • podman_container - Add idempotency for ulimits and tests
  • podman_container - Fix idempotency for podman > 2 versions

Relicense under GPLv3 and clean up modules

  • Relicense under GPLv3 and clean up modules

Idempotency fixes

  • podman_container - Add idempotency for existing local volumes

Idempotency and images improvements

  • podman_container - Add inspect of image and user idempotency
  • podman_image - Add option for tls_verify=false for images

Initial release of collection with new modules

  • buildah_connection - add support of specific user
  • buildah_connection - added Buildah connection rootless
  • podman_connection - add user flags before container id in podman exec
  • buildah_connection - Fix buildah debug output for py2
  • podman_connection - Run pause=false w/o message condition
  • podman_container - Add idempotency for user and stop signal
  • podman_container - Fix idempotency issues with workdir and volumes
  • podman_container - Fix image, healthcheck and other idempotency
  • podman_container - Improve idempotency of podman_container in uts, ipc, networks, cpu_shares
  • podman_image - only set changed=true if there is a new image
  • podman_image - use correct option for remove_signatures flag
  • containers.podman.podman_container - Manage Podman containers
  • containers.podman.podman_network_info module - Retrieve information about Podman networks