Hi,
yes,what you said is right.I resolved that problem.Instead of that ec2
instance module.I tried starting instances with at module.
Instead of that ec2 instance module i used
- at:
command: "aws ec2 start-instances --instance-ids '{{item}}'"
count: 1
units: minutes
state: present
with_items: "{{myvar5.split(\n)}}"
It is working good now.
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 [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/d67e2f2c-f376-4653-9821-a21bd7d3df9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.