Solution, wait for the resource to come back with a password:

- name: obtain initial passwords for win ec2 instances
  ec2_win_password:
    instance_id: "{{ item.id }}"
    key_file: "~/aws-creds/ec2key.pem"
    wait: yes
    wait_timeout: 600
  with_items: win_ec2_instances.instances
  register: win_ec2_passwords


-- 
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/cf034c73-163d-4c3f-9962-c74b2264020f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to