| Parameter | Choices/Defaults | Comments |
|---|---|---|
| name - / required | Name of the package | |
| selection - / required |
| The selection state to set the package to. |
Note
apt module for that.# Prevent python from being upgraded.
- dpkg_selections:
name: python
selection: hold
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/dpkg_selections_module.html