Skip to content

Commit 7b1854e

Browse files
authored
Merge pull request #537 from stackhpc/dnf-loop-control-zed
2 parents f31fb54 + 7a852be commit 7b1854e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

ansible/roles/dnf/tasks/custom-repo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
username: "{{ item.value.username | default(omit) }}"
2727
state: "{{ item.value.state | default(omit)}}"
2828
with_dict: "{{ dnf_custom_repos }}"
29+
loop_control:
30+
label: "{{ item.key }}"
2931
register: register_dnf_command
3032
retries: 3
3133
delay: 10
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
security:
3+
- |
4+
Avoid leaking DNF repository username/password credentials in the Kayobe
5+
output by adding loop control to print only the repository key.
6+
`LP#2087938 <https://launchpad.net/bugs/2087938>`__
7+
fixes:
8+
- |
9+
Avoid leaking DNF repository username/password credentials in the Kayobe
10+
output by adding loop control to print only the repository key.
11+
`LP#2087938 <https://launchpad.net/bugs/2087938>`__

0 commit comments

Comments
 (0)