Update dpkg_selections.py (#78177)

* Update dpkg_selections.py to include an syntax example showing how to remove package holds

* Fix pep8 issue: dpkg_selections.py

Missed some trailing spaces when adding example text.
pull/78186/head
Micah Beasley 2 years ago committed by GitHub
parent a77fc2e822
commit 489b7f1859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,6 +46,11 @@ EXAMPLES = '''
ansible.builtin.dpkg_selections:
name: python
selection: hold
- name: Allow python to be upgraded
ansible.builtin.dpkg_selections:
name: python
selection: install
'''
from ansible.module_utils.basic import AnsibleModule

Loading…
Cancel
Save