I think the key is here:

- include: prepare.yml, tags: ['prepare']

Where in your copy and paste you have it starting with a "{", this is
not the same as in your error message,
so I think the actual in the file might not match what you typed.



On Fri, Oct 24, 2014 at 4:54 PM, <[email protected]> wrote:

> I have a playbook.  It's got includes, and tags, and it works.  But when I
> introduce a when it fails.  And I'm too slow this long Friday to get what's
> wrong.
>
> https://gist.github.com/bdunbar/82f55ed4f1de76cd3d6e
>
> Perhaps I'm going about this the wrong way.
>
> I have an existing role (call it 'sftp') that - with tags - configures the
> host, and maintains the user accounts.
>
> What I want is to have a playbook that, using the same variables in the
> role, simply creates 'a' user.
>
> See the gist - I'm probably going about this in the dumbest way possible
> but don't see how to make it smarter.
>
> ~brian
>
> --
> 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/de5b4e74-cb95-480b-9c6d-40ae2db866a2%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/de5b4e74-cb95-480b-9c6d-40ae2db866a2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgy_Qpx_OSE%3D8G%3D2wDjfONzW2_2ay2j_Dxots%2BJKVctJwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to