Re: [ansible-project] Is this a bug or a security feature? I am not sure...

2014-12-09 Thread Michael DeHaan
"ok: [a.b.c.c] => {"msg": "check mode not supported for shell", "skipped": true}" shell commands don't run in check mode because usually they have side effects, and check mode is there to be a dry run. As such, this is neither a bug *NOR* a security feature, it's just making sure check mode doesn

[ansible-project] Is this a bug or a security feature? I am not sure...

2014-12-08 Thread Steven Truong
Hi all, Here is the situation that I am not sure how to deal with it. shell: echo {{ ec2_tag_Name | regex_replace('(^[a-z]+-[a-z0-9]+).*', '\\1') }} And certainly, I have other shell command where I echo something and use register to capture the output such as the following: - name: get pub