Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Commit 062315e

Browse files
authored
Fix yum exclude example to align to parameter doc (ansible#79128)
1 parent b7eb067 commit 062315e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/ansible/modules/yum.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,9 @@
353353
ansible.builtin.yum:
354354
name: '*'
355355
state: latest
356-
exclude: kernel*,foo*
356+
exclude:
357+
- kernel*
358+
- foo*
357359
358360
- name: Install the nginx rpm from a remote repo
359361
ansible.builtin.yum:

0 commit comments

Comments
 (0)