Changing filter pattern on setup module call
check-rsyslog validation demonstrated a novel syntax error caused by form of the "filter" argument of the setup ansible module. Modification of the argument form was made to align with module requirements. The validation was added in catalogue tests. Resolves: rhbz#2116304 Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I15c56f71da5d7358e0a13d16bcd975d65b36c7b0
This commit is contained in:
parent
472c71c3c5
commit
5c34b1c52b
|
@ -109,6 +109,7 @@ validation_catalogue:
|
|||
- check-ftype
|
||||
- check-network-gateway
|
||||
- check-ram
|
||||
- check-rsyslog
|
||||
- check-selinux-mode
|
||||
- container-status
|
||||
- controller-token
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
---
|
||||
- name: Gather facts
|
||||
setup:
|
||||
filter:
|
||||
- ansible_os_family
|
||||
filter: "ansible_os_family"
|
||||
- include_tasks: yum.yaml
|
||||
when: (ansible_os_family == 'RedHat') or
|
||||
(ansible_os_family == 'CentOS')
|
||||
|
|
Loading…
Reference in New Issue