Closed ozbillwang closed 8 years ago
I don't think it would be 100% possible to have the correct status for each tasks. The module creates separate files for each section then join them together in a big readable file.
In the best case scenario, we could generate the last file in a temporary folder then compare the hash with the current file. before copying over (and trigger the 'CHANGED' state). You would still be left with 90% of task with the CHANGED state (all task related to each file generation).
Unless we go crazy with regex, I dont think there is a proper way to check if the files need to be regenerated again.
An official haproxy module has been created (see #23 - http://docs.ansible.com/ansible/haproxy_module.html ) but has limited options so far.
This galaxy roles work nicely that I can use directly without modification. Good job. 👍
But when repeatly run the ansible playbook, most tasks are still marked as changed
Any suggestions to get ride of it? I'd like to get all
OK
status in the end.