Hi,

In EC2 classic one cannot define Security Groups on the ELB, instead a 
default value of 'amazon-elb/amazon-elb-sg' with id 'sg-35b1b441' is used.
If you try to modify a security group that refers to this pre-defined 
security group ansible will throw a KeyError for the id.

For example, manually create a security group 'test', and add 
'amazon-elb/amazon-elb-sg' to it.
Now attempt to run Ansible to (re-)create the security group 'test', it 
will fail with:

BECOME-SUCCESS--------------------------------
Traceback (most recent call last):
  File "/path/omitted/ec2_group", line 2187, in <module>
    main()
  File "/path/omitted/ec2_group", line 310, in main
    grantGroup = groups[grant.group_id]
KeyError: u'sg-35b1b441'

Thanks,
Nico

-- 
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/c30177fc-99c6-488c-aa96-47c6f5ec08c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to