Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve failure output for commands #319

Merged

Conversation

swalkinshaw
Copy link
Member

Fixes #300

This improves failure handling and output for two types of commands:

  1. ones that use ad hoc playbooks
  2. vault related

In both cases trellis-cli wasn't outputting useful error output from the underlying Ansible commands making it harder to troubleshoot.

The solution is to capture the output and conditionally display the error output when the underlying command fails.

This improves failure handling and output for two types of commands:
1. ones that use ad hoc playbooks
2. vault related

In both cases trellis-cli wasn't outputting useful error output from the
underlying Ansible commands making it harder to troubleshoot.

The solution is to capture the output and conditionally display the
error output when the underlying command fails.
@swalkinshaw swalkinshaw merged commit 73f2619 into master Sep 18, 2022
@swalkinshaw swalkinshaw deleted the improve-failure-output-for-commands-using-adhoc-playbooks branch September 18, 2022 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: generate .vault_pass for existing sites
1 participant