dnf: improve task output readability
It's more informative to describe the tasks we are skipping by adding a name section to the include_tasks. Otherwise it just shows; TASK [dnf : include_tasks] * skipping: [controller-1] The other include_tasks doesn't have a name section or a when clause so switching to import_tasks. Change-Id: Ie8d34a45aa4ebd0e2ea635208970acf18741aee5
This commit is contained in:
parent
ebd5799fd4
commit
8b5168828a
@ -8,7 +8,8 @@
|
|||||||
loop: "{{ query('dict', dnf_config) }}"
|
loop: "{{ query('dict', dnf_config) }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- include_tasks: local-mirror.yml
|
- name: Configure local mirror
|
||||||
|
include_tasks: local-mirror.yml
|
||||||
when: dnf_use_local_mirror | bool
|
when: dnf_use_local_mirror | bool
|
||||||
|
|
||||||
- include_tasks: custom-repo.yml
|
- import_tasks: custom-repo.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user