On 11.05.2018 19:51, David Villasmil wrote:
Anyone able to help?
Probably, but as you can see below your mail screwed up any
formatting...
On Thursday, May 10, 2018 at 11:27:06 PM UTC+2, David Villasmil wrote:
hello all,
I run "ec2_instance_facts" to get some instance_ids:
- ec2_instance_facts:
region: us-east-1
filters:
"tag:Name": "*{{ cluster }}*"
register: ec2_res
as you can see , no indentation at all.
But this fails with:
fatal: [127.0.0.1]: FAILED! => {
"msg": "The task includes an option with an undefined variable.
The
error was: 'item' is undefined\n\nThe error appears to have been in
'/home/admin/voice-conf/playbooks/add_fs_to_cluster.yml': line 34,
column
5, but may\nbe elsewhere in the file depending on the exact syntax
problem.\n\nThe offending line appears to be:\n\n\n - name: Terminate
instances that were previously launched\n ^ here\n"
This is probably a indentation problem, but since your mail all the
indentation is gone it's very hard to help.
--
Kai Stian Olstad
--
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/e3f3d156b16a9c8449d9656f08328d9d%40olstad.com.
For more options, visit https://groups.google.com/d/optout.