Skip to content
Discussion options

You must be logged in to vote

Ah yes, your use case makes perfect sense, I have a tendency to overlook cases with large output, in a dev setting, I tend to primarily play with very tiny output, mainly to confirm things are working as expected.

Anyways, your environment variables look right to me, so that's not the issue.

From your playbook, it looks like you want to have the file locally on your AWX control node and that's also where the python script is run. If that's the case, might I suggest copying to the file using an ansible local_action or its equivalent delegate_to: localhost (link to docs).
The idea would be to execute the copy step locally, similar to how the python script is run.

Here are playbook tasks for…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ketankelkar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants