how we can access the values provided to notes to a hosts #2826
Unanswered
lexjwa
asked this question in
Help needed
Replies: 1 comment 2 replies
-
For example you can use env: TYPE=Prod dep deploy all and get env via getenv(); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're looping and chaining up hosts for application servers.
It works fine if we knew what label we would like to use when deploying to application servers.
For example
But we can have other types such as
staging
,dev
orproduction
for labeldeployment_type
Is there a way that we could know what value was provided to label deployment_type in loops, so command to deploy is easy to use, perhaps something to list hosts and get what those hosts got in.
Beta Was this translation helpful? Give feedback.
All reactions