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
|
||||
|
||||
rescue:
|
||||
- ansible.builtin.debug:
|
||||
msg: "{{ dnf_install_errors.msg.failures }}"
|
||||
- name: "Log errors"
|
||||
lineinfile:
|
||||
dest: /tmp/ansible.log
|
||||
line: >-
|
||||
[ERR] {{ dnf_install_errors.failures }}
|
||||
|
||||
|
||||
- name: "Install Flatpaks"
|
||||
|
|
|
|||
Loading…
Reference in a new issue