Answer the question
In order to leave comments, you need to log in
How to run it once in Ansible?
Good day to all!
I have such a question, is there a playbook for deploying for a bunch of hosts. After deployment, you need to send the value of one variable ONCE to REST. How to implement this?
Now it turns out we send as many as hosts. The variant for local_action is quite satisfied.
Answer the question
In order to leave comments, you need to log in
What 's wrong with docs.ansible.com/playbooks_delegation.html#run-once ?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question