ansible - How to make a task dependant of a change in a group? -


we managing solaris zones ("containers") ansible. necessary run command on global zone ("host"), if change has been done non-global zone ("guest").

i found way handle direct dependencies register non_global_zone_1 in non-global zone , when: non_global_zone_1.changed in global zone.

the problem is, global zone runs 20 non-global zones. , need perform task in global zone once, if @ least 1 changed has been made 1 non-global zone.

how express alternation "zone_1.changed or zone_2.changed or ... zone_n.changed"?

ideally express alternation based on inventory group, because ansible not able gather list of zones standard setup module.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -