I want to use the ec2_facts module to gather info, e.g.
- hosts: all
gather_facts: false
become: no
tasks:
- name: Get instance ec2 facts
action: ec2_facts
register: ec2_facts
Is there a way to filter out the SSH unreachable (maybe not on first run)
but maybe give them a specific tag; so check for error message and then I
can tag those ec2 instance to filter them out next run?
--
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/ec4788e1-c1ba-4a27-b854-05dee1e95ada%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.