[ansible-devel] Ansible Contributor Survey

2020-07-10 Thread Carol Chen
Hi everyone! We had a successful Contributor Summit + Hackathon earlier this week (July 6-8). Thank you for your interest/attendance! Here is a Contributor Survey that we have put together: https://www.surveymonkey.com/r/6FR365T Please take a couple of minutes to fill this in, whether you've atte

Re: [ansible-devel] Two sets of arguments/parameters for one module?

2020-07-10 Thread Rory G
That is helpful, but would it be possible to have two sets of argument_spec for more complicated differences in the parameters? example pseudocode for module: argument_spec1=dict(...) argument_spec2=dict(...) # get version from YAML # pass corresponding argument_spec to AnsibleModule based on

Re: [ansible-devel] Two sets of arguments/parameters for one module?

2020-07-10 Thread 'Felix Fontein' via Ansible Development
Hi, why not simply have two different modules? (With shared code in module_utils?) You could also not use AnsibleModule, but do all the communication by yourself (like binary modules). That way you can essentially do what you want. Cheers, Felix > That is helpful, but would it be possible to

[ansible-devel] Ensuring code executes even if user interrupted

2020-07-10 Thread afe...@bandwidth.com
Ansible's block/rescue and handlers are mechanisms for flow control, however they do