Hello, I currently have a playbook that retrieves information from a Cisco machine in a text file. Then I run a scipt bash run by ansible to check the patch version. The problem is that this way of doing things does not respect idempotence. Do you know a module to check that a line exists within the file or even a variable and which returns an "OK" if the line exists ?
Thank you in advance -- 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/235601ee-9342-4ec4-b713-d45165c7b419%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
