Testing debugging logging
This commit is contained in:
parent
0a6e244cb9
commit
a196b57ed1
1 changed files with 5 additions and 2 deletions
|
|
@ -41,8 +41,11 @@
|
||||||
register: dnf_install_errors
|
register: dnf_install_errors
|
||||||
|
|
||||||
rescue:
|
rescue:
|
||||||
- ansible.builtin.debug:
|
- name: "Log errors"
|
||||||
msg: "{{ dnf_install_errors.msg.failures }}"
|
lineinfile:
|
||||||
|
dest: /tmp/ansible.log
|
||||||
|
line: >-
|
||||||
|
[ERR] {{ dnf_install_errors.failures }}
|
||||||
|
|
||||||
|
|
||||||
- name: "Install Flatpaks"
|
- name: "Install Flatpaks"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue