summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/dpkg_selections.py
diff options
context:
space:
mode:
authorAndrew Klychkov <aaklychkov@mail.ru>2020-05-28 23:42:26 +0300
committerGitHub <noreply@github.com>2020-05-28 15:42:26 -0500
commit323d2adfcce9a53e906c2c4a40f6ac5fb32a0e68 (patch)
tree315df4be3e6206a951d6f42a8317de70f096da1f /lib/ansible/modules/dpkg_selections.py
parentd0a25f004c8dc4c86952e09ff1aaa823c3bbac31 (diff)
downloadansible-323d2adfcce9a53e906c2c4a40f6ac5fb32a0e68.tar.gz
Fix example format in Ansible modules (#69509)
* Fix example format in several Ansible modules * Update lib/ansible/modules/fail.py * Update lib/ansible/modules/pip.py Co-authored-by: Felix Fontein <felix@fontein.de>
Diffstat (limited to 'lib/ansible/modules/dpkg_selections.py')
-rw-r--r--lib/ansible/modules/dpkg_selections.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/dpkg_selections.py b/lib/ansible/modules/dpkg_selections.py
index ccfb89226d..2e35878ba3 100644
--- a/lib/ansible/modules/dpkg_selections.py
+++ b/lib/ansible/modules/dpkg_selections.py
@@ -36,8 +36,8 @@ notes:
- This module won't cause any packages to be installed/removed/purged, use the C(apt) module for that.
'''
EXAMPLES = '''
-# Prevent python from being upgraded.
-- dpkg_selections:
+- name: Prevent python from being upgraded
+ dpkg_selections:
name: python
selection: hold
'''