summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra McCann <samccann@redhat.com>2022-10-20 15:57:36 -0400
committerGitHub <noreply@github.com>2022-10-20 15:57:36 -0400
commitbcdc2286e853240372b241fd2a178c66f3bc494c (patch)
treebf41ce31bc60c9c4baf0a4950b5fd28632c7181c
parent551f5a375327347b26d352c3cbbc93afc93a2402 (diff)
downloadansible-bcdc2286e853240372b241fd2a178c66f3bc494c.tar.gz
Revert "Fix yum exclude example to align to parameter doc (#79128)" (#79179)
This reverts commit 062315ecaaf1096f808b68eb8d88cf8ab3ab2cfc.
-rw-r--r--lib/ansible/modules/yum.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ansible/modules/yum.py b/lib/ansible/modules/yum.py
index 79db817866..cce8f4cb75 100644
--- a/lib/ansible/modules/yum.py
+++ b/lib/ansible/modules/yum.py
@@ -353,9 +353,7 @@ EXAMPLES = '''
ansible.builtin.yum:
name: '*'
state: latest
- exclude:
- - kernel*
- - foo*
+ exclude: kernel*,foo*
- name: Install the nginx rpm from a remote repo
ansible.builtin.yum: