Hi,
I am using ansible to get the instance ID of a EC2 instance on AWS through the use of ec2_remote_facts.
How do I assign the instance ID to a variable using set_fact?
I was trying to use the following script but it did not work.
`
Hi,
I am using ansible to get the instance ID of a EC2 instance on AWS through the use of ec2_remote_facts.
How do I assign the instance ID to a variable using set_fact?
I was trying to use the following script but it did not work.
`