Re: [ansible-devel] How to document support for check mode for a module

2021-06-10 Thread 'Felix Fontein' via Ansible Development
Hi, the common way to document this (that will also work with already released ansible-core/base/ versions) is to add an entry to `notes:` which says `Supports C(check_mode).` or something like that. Cheers, Felix -- You received this message because you are subscribed to the Google Groups

Re: [ansible-devel] How to document support for check mode for a module

2021-06-09 Thread 'Andreas Maier' via Ansible Development
This is what i was looking for. Thanks much!! bc...@redhat.com schrieb am Mittwoch, 9. Juni 2021 um 19:41:02 UTC+2: > Just added this for 2.12 (still not final) > https://github.com/ansible/ansible/pull/73707 > > Also see https://github.com/ansible/ansible/pull/74331 > -- > -- > Brian

Re: [ansible-devel] How to document support for check mode for a module

2021-06-09 Thread Brian Coca
Just added this for 2.12 (still not final) https://github.com/ansible/ansible/pull/73707 Also see https://github.com/ansible/ansible/pull/74331 -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe

[ansible-devel] How to document support for check mode for a module

2021-06-09 Thread 'Andreas Maier' via Ansible Development
Hi, I am an author of Ansible modules (e.g. https://github.com/zhmcclient/zhmc-ansible-modules) and would like to document whether a module supports check mode. In modules written in Python, the module declares that at run time, e.g. module = AnsibleModule(