tenks/roles/tenks-diagnostics/tasks/created.yml

15 lines
356 B
YAML

---
- name: Run diagnostics script
script: dump_libvirt_logs.sh
register: dump_libvirt_logs_result
become: true
failed_when: false
environment:
LOG_DIR: "{{ tenks_diagnostics_log_dir }}"
CONFIG_DIR: "{{ tenks_diagnostics_config_dir }}"
- name: Print dump_libvirt_logs.sh output
debug:
msg: "{{ dump_libvirt_logs_result.stdout }}"