Great explanation. Thanks
--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to a
On 30. juni 2017 21:03, Anfield wrote:
Thanks! But how does it differentiate between just the text user, and the
actual variable user? Or does it just know because user is defined as a
variable at the top in the vars section?
Text is indicated with single or double quote, so 'user' or "user".
W
Thanks! But how does it differentiate between just the text user, and the
actual variable user? Or does it just know because user is defined as a
variable at the top in the vars section?
I tried that out and it works well.
>
--
You received this message because you are subscribed to the Goog
On 28. juni 2017 01:55, Anfield wrote:
Running the playbook below and wondering whats the correct syntax so I can
use a variable within the find statement below
This line is in question -
when: p.stdout.find"{{('user')}}" != -1
This would be correct without a variable
when: p.stdout.fin
Running the playbook below and wondering whats the correct syntax so I can
use a variable within the find statement below
This line is in question -
when: p.stdout.find"{{('user')}}" != -1
This would be correct without a variable
when: p.stdout.find('daniel') != -1
How do I do this with