Logging
This commit is contained in:
parent
03e805f501
commit
98e8df7c9a
1 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
# tasks file for fedora
|
# tasks file for fedora
|
||||||
|
|
||||||
|
- vars:
|
||||||
|
rpmfusion_keys_errors: ""
|
||||||
|
rpmfusion_repo_errors: ""
|
||||||
|
|
||||||
- name: "Adding rpmfusion repos"
|
- name: "Adding rpmfusion repos"
|
||||||
become: true
|
become: true
|
||||||
block:
|
block:
|
||||||
|
|
@ -21,7 +25,7 @@
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: "{{ log_path }}"
|
dest: "{{ log_path }}"
|
||||||
line: >-
|
line: >-
|
||||||
[ERR] {{ item }}
|
[ERR] {{ item.msg }}
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ rpmfusion_keys_errors }}"
|
- "{{ rpmfusion_keys_errors }}"
|
||||||
- "{{ rpmfusion_repo_errors }}"
|
- "{{ rpmfusion_repo_errors }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue