Could you give some more details and possibly your ansible code and output? What type of Cisco device? Switch, firewall, etc?
On Friday, October 12, 2018 at 9:12:44 AM UTC-4, alexis calvayrac wrote: > > 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/f56821f2-a71a-42cd-8499-4e456f02a853%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
