Yep that was it, thanks for the pointer! This throws errors but this is the
right direction.
---
- name: ANS Dev Security Group Build .v01
hosts: 127.0.0.1
connection: local
tasks:
- name: Create two new IAM users with API keys
iam:
iam_type: user
name: stuff
state: test
profile: test
password: test
access_key_state: create
with_items:
- test
- test2
On Tuesday, December 13, 2016 at 4:02:40 PM UTC-5, Josh Smift wrote:
>
> Is the file that you're showing here a playbook, or a role file?
>
> If it's a playbook, it needs more stuff than just the list of tasks. See
> https://docs.ansible.com/ansible/playbooks_intro.html for some basics.
>
> -Josh ([email protected] <javascript:>)
>
> (apologies for the automatic corporate disclaimer that follows)
>
> This email is intended for the person(s) to whom it is addressed and may
> contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized
> use, distribution, copying, or disclosure by any person other than the
> addressee(s) is strictly prohibited. If you have received this email in
> error, please notify the sender immediately by return email and delete the
> message and any attachments from your system.
>
--
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/950076c8-1ce7-4dd6-9f4d-0f48a0d9d688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.