Using pyinfra to share artifacts between hosts during deploy #1467
Unanswered
pointless-oops
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’m exploring whether the following workflow can be implemented directly with pyinfra:
I have four servers: A, B, C, D.
A certificate should be generated on server A.
That certificate then needs to be distributed/uploaded to servers B, C, D.
I’m aware of pyinfra.local, but as far as I understand it, this executes before the deploy begins.
What I would like to achieve instead is something like: run an operation on host A -> use its output/artifacts during the same deploy to provision hosts B, C, D.
Is this type of “generate on one host, deploy to others” workflow possible within pyinfra, or would it require external scripting outside pyinfra?
Any guidance or examples would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions