ec2_elb_lb does not support 'check mode' (Dry run).

I would like to add it to the module.

- Is the below still the preferred way?

https://groups.google.com/d/topic/ansible-project/v638okDSzvo/discussion

add supports_check_mode=True to the bottom of the AnsibleModule constructor 
>
> AND 
>
> wherever a module decides to set "changed" = True, and before actually 
> making a change, do something like: 
>
> if self.check_mode: 
>     module.exit_json(changed=True) 
>
 
- Are there any templates or examples?

-- 
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/1e4977cd-022a-4215-a543-ab05ea249fa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to