* Allow api module to fail.
* Improve error handling.
* Fix api unit tests.
* Add very basic tests of return values.
* Update api.py
fix ignoring the Fail task if we get TrapError
* Do not mangle fail result, and adjust tests.
* Improve changelog fragment.
* Reclassify changelog fragment as minor_changes, improve text.
* Mark changelog as 'breaking change'.
Co-authored-by: Nikolay Dachev <nikolay@dachev.info>
* Add options to control certificate validation for api module.
* Linting.
* Extend documentation.
* Fix validate_cert_hostname=true.
* Add documentation on setting up certificates on a RouterOS device.
* Disable use of depricated Ciphers
Old ciphers shouldn't be used. Devices that use newer ciphers couldn't be reached as the cipher was locked to sslv3.
* chore: add changelog fragment
* allow nonverbose idempotent config
* nonverbose config output
* typpo
* typpo
* release fragment
* config extra fact
* add fact ansible_net_config_nonverbose
* unit tests
* changelog fragments
* remove version fragment
* remove extra debug printf()
* update chlog fragment
* corrections for upstream pull request
* corrections for upstream pull request
* typo in changelog fragment
Co-authored-by: Felix Fontein <felix@fontein.de>
* typo in filename
Co-authored-by: Petr Klima <petr.klima@madeta.cz>
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update routeros.py
Adjust the terminal detection line to support forward slashes in device hostnames (connections fail without clear reason otherwise)
* Add changelog fragment.
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 3f3e0d0)
Fore-ported from ansible-collections/community.network#138.
By running unit tests for all Python versions with one ansible-test command,
we save quite some runtime (we don't have to set up the same ansible-test
environment multiple times) and reduce the large amount of unit test entries
in the CI.