Use loop label for deb822_repository
The module has quite massive output due to included GPG key into the structure, which makes it barely readable. Using loop label on the module will limit output to necessary set of arguments. Change-Id: I4d050312410951847413c728165a74ce26fd77a0 Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
This commit is contained in:
1 changed files with 9 additions and 1 deletions
@@ -79,7 +79,15 @@
trusted:"{{ item.trusted | default(omit) }}"
types:"{{ item.types | default(omit) }}"
uris:"{{ item.uris | default(omit) }}"
with_items:"{{ rabbitmq_repo + rabbitmq_erlang_repo }}"
loop:"{{ rabbitmq_repo + rabbitmq_erlang_repo }}"
loop_control:
label:"{{ loop_label | to_json }}"
vars:
loop_label:
name:"{{ item.name }}"
uris:"{{ item.uris | default('') }}"
state:"{{ item.state | default('present') }}"
suites:"{{ item.suites | default('') }}"
register:deb822_repos
- name:Update apt repositories when config is changed
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.