mirror of https://github.com/ansible/ansible.git
return the most up-to-date info about an instance when starting/stopping it
otherwise the module will return the info about the instance that it got prior to the action taken
So if you had a task to start an instance:
ec2:
instance_ids: ...
state: running
register: ec2_info
the registered data would have empty public_dns_name, public_ip, private_dns_name, private_ip
reviewable/pr18780/r1
parent
e978dcf7eb
commit
2b5c73054d
Loading…
Reference in New Issue