ansible / ansible.builtin / v2.3.3.0-1 / module / dpkg_selections Dpkg package selection selections | "added in version" 2.0 of ansible.builtin" Authors: Brian Brazil <brian.brazil@boxever.com> preview | supported by communityansible.builtin.dpkg_selections (v2.3.3.0-1) — module
pip
Install with pip install ansible==2.3.3.0.post1
Change dpkg package selection state via --get-selections and --set-selections.
# Prevent python from being upgraded. - dpkg_selections: name: python selection: hold
name: description: - Name of the package required: true selection: choices: - install - hold - deinstall - purge description: - The selection state to set the package to. required: true