Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Add live logging ansible #530

Merged

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Dec 1, 2021

Implementation of live logging for ansible command execution.
Besides that, I have added the usage of ANSIBLE_LOG_PATH which sends the logs to a file in the background. It is interesting to have it as backup and post-morten analysis. It will store in /tmp/trento/ansible/ansible.log by default.

It implements: #469
Duplicates: #518 (sorry @MMuschner , I found myself in a hurry to implement this as I need it for debugging purposes)

Edit: I have removed the commit which added the code to redirect the logs to a file, as it doesn't fit in a containerized environment

@arbulu89 arbulu89 added enhancement Improvement of existing features DX Developer Experience labels Dec 1, 2021
@arbulu89 arbulu89 linked an issue Dec 1, 2021 that may be closed by this pull request
@arbulu89 arbulu89 mentioned this pull request Dec 1, 2021
@arbulu89 arbulu89 force-pushed the feature/add-live-logging-ansible branch from 6df8683 to 4c34f68 Compare December 2, 2021 07:20
@arbulu89 arbulu89 merged commit d2d7d20 into trento-project:main Dec 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
DX Developer Experience enhancement Improvement of existing features
Development

Successfully merging this pull request may close these issues.

Improvements in the runner logging
2 participants