Skip to content

Commit d9ecbdd

Browse files
committed
Fixed syntax
1 parent 7302f7d commit d9ecbdd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tasks/yum.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@
2727
dest: '{{ item }}'
2828
regexp: '^\s*gpgcheck: 0'
2929
replace: 'gpgcheck: 1'
30-
with_flattened: "{{
31-
- '/etc/yum.conf'
32-
- '{{ yum_repos.stdout_lines | default([]) }}'
33-
}}"
30+
with_flattened: "{{ ['/etc/yum.conf', yum_repos.stdout_lines | default([]) ] }}"
3431

3532
- name: activate gpg-check for yum rhn if it exists
3633
replace:

0 commit comments

Comments
 (0)