This already exists to declare that something doesn't change something. changed_when: False
If you mean to run it always in check mode, this is: always_run: True On Wed, Dec 18, 2013 at 2:23 PM, Giorgio Valoti <[email protected]> wrote: > Hi, > When a shell command is executed, Ansible consider it as a modifying > action. It’s a sensible default, because it can’t predict the command > output, but I’m wondering if there’s a way to declare a command as > safe/read-only? > > -- > Giorgio Valoti > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
