this post was submitted on 11 Jun 2024
4 points (83.3% liked)
Ansible
243 readers
1 users here now
# TODO
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Not sure if i really get what you are trying to do but you can check for the pre_task keyword. It's seems you are overengineering something. Try to think about idempotency
Me either, but we have a role to bootstrap galara mysql and we just use the first host in a group
sounds like the same idea. So you use
run_once
on a task?