Skip to content

Commit ba6d4e7

Browse files
radosrokarichm
andcommitted
fix: fix ansible2.9 related issue
Co-authored-by: Richard Megginson <[email protected]>
1 parent 3784d41 commit ba6d4e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
- sudo_check_if_configured | bool
1717
vars:
1818
__actual: "{{ ansible_facts['sudoers'].sudoers_files | map('dict2items') |
19-
map('rejectattr', 'key', 'match', '^include_files$') | map('items2dict') }}"
19+
map('rejectattr', 'key', 'match', '^include_files$') | map('list') |
20+
map('items2dict') | list }}"
2021

2122
- name: Ensure sudo is installed
2223
package:

0 commit comments

Comments
 (0)