Hi,

I believe it is 'tasks:'

Vincent

On 12 Dec 2016 11:45 p.m., "Dan" <[email protected]> wrote:

> # Example of role with custom trust policy for Lambda service
> ---
> task:
> - name: Assign a policy called Admin to the administrators group
>   iam_policy:
>     region: us-east-1
>     profile: dev
>     iam_type: role
>     iam_name: test
>     policy_name: Admin
>     state: present
>     policy_document: hhc-dev-ops-LV2.json
>
> Everytime I run this as
>
> `ansible-playbook -i /etc/ansible/local Dev-Test-IAM-pwr.yaml`
>
> It fails and barks at
>
> The offending line appears to be:
>
> ---
> task:
> ^ here
>
> Is it tasks or task?
>
> --
> 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/4437ca4b-fefc-4022-9717-b78f217bba5c%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/4437ca4b-fefc-4022-9717-b78f217bba5c%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/CAO3_%2BAHDy%3DBLqS03w6d5-VZ6xWXM3izJZMjrbt%2Bpe9_K%3Du%2BFiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to