Depending on your use case, ec2_eip is not idempotent. I would like to attach a new EIP to an instance *iff* the instance doesn't already have an EIP attached.
Currently, the module operates in two modes: 1. if you don't specify an existing EIP address, the module will attach a new arbitrary EIP regardless of whether the instance already has one attached (not idempotent). 2. if you do specify an existing EIP address, then the module will attach that EIP *iff* the EIP is not attached to any instance. It seems like case (1) should be idempotent and assume that an instance with an already-attached EIP requires no change. Thoughts? -- 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/15cd891c-5a40-4f1a-996b-4bae04c63c1a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
