Is it possible to have condition statement on variable? What would be the best way to assign Variable based on inventory group? Below is the basic idea.
vars: epic: true when: inventory_hostname == groups.database or inventory_hostname == groups.apache vars: epic: false when: inventory_hostname != groups.database or inventory_hostname != groups.apache -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/587e9f49-f9e4-4310-afc3-137c0bd9c5dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
