with_items should not be used any more - using loop instead (#47294)

This commit is contained in:
Petr Ruzicka
2018-10-19 18:43:00 +02:00
committed by Sam Doran
parent 04d3693e1f
commit 6cd17401ec

View File

@@ -60,7 +60,7 @@ EXAMPLES = '''
rhsm_repository:
name: "{{ item }}"
state: disabled
with_items: "{{
loop: "{{
rhsm_repository.repositories |
map(attribute='id') |
difference(['rhel-7-server-rpms']) }}"