I have been following the ec2_elb_facts module and tried using the below
example but in the debug logs i can see the aws values are completely
getting ignored. How can i get this working?
- hosts: localhost
vars:
aws_access_key: accesskey
aws_secret_key: secretkey
ec2_region: us-east1
gather_facts: true
tasks:
# Gather facts about all ELBs
- action:
module: ec2_elb_facts
register: elb_facts
- action:
module: debug
msg: "{{ item.dns_name }}"
with_items: "{{ elb_facts.elbs }}"
Also, in tower how can i make sure these keys are used from encrypted file?
--
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/7a9372a9-1358-4d25-9d5c-32e1de4bd426%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.