Hi, I need to update a property in a file but the value i need to write depend of the inventory_hostname. If the hostname is ABCAPP1.MYDOMAIN.COM the value i need to write is APP1 If the hostname is ABCDB1.MYDOMAIN.COM the value i nedd to write is DB1
How can i do this? Thanks, TP -- 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/24c82550-dc3f-4464-8aee-f0bb365608b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
