Ich habe zwei KnotenWie führe ich ein Küchenrezept auf einem Cloud-Cluster-Knoten aus?
Koch-Server => nodeA und nodeB
Ich habe zwei Rezepte: a_recipe und b_recipe
ich vom Chef-Server nodeA Bootstrap tun und ich dieses Rezept 'a_recipe' ausführen.
Mein Ziel ist:
- execute recipe 'b_recipe' on nodeB during execution of 'a_recipe' on nodeA
For example:
a_recipe code
#cookbook : TEST
#recipe : a_recipe
-----some code--------
#call 'b_recipe' on nodeB
------some code...........
Wie kann ich das tun?
Ansible behandelt das ziemlich sauber. – chicks
Art von, aber es hat den Vorteil, ein inhärent Multi-Knoten-Werkzeug, auch wenn N = 1 für den Normalfall. – coderanger