I currently have an ansible playbook, that feeds in an inventory file with server ips, and installs datadog agent in those servers.
However, after post installation, I need to add a line in datadog config yaml file like "hostname: xyz". xyz is variable. I have a csv file listing hostname for each ip in inventory file. Based on that csv file, I need to add the line on the config file, and I need to do it for many servers. How can I achieve this? Suggestions please. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c534a203-aff4-4a99-950f-8036d54b2c6e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.