Commit graph

399 commits

Author SHA1 Message Date
Felix Fontein
1fb6915819 Release 2.8.2. 2023-06-19 16:42:18 +02:00
Felix Fontein
b7ef2fe1f8 Prepare 2.8.2 release. 2023-06-19 13:13:14 +02:00
derdeagle
af28e6419f
Fixes #179: Add missing /tool/e-mail parameter "tls" (#180)
* Fixes #179: Add missing /tool/e-mail parameter "tls"

In the
[documentation](https://help.mikrotik.com/docs/display/ROS/E-mail#Email-Properties) the parameter "tls" is mentioned but it cannot be used. The old "start-tls" parameter is not mentioned there (only on the [old documentation](https://wiki.mikrotik.com/wiki/Manual:Tools/email#Properties)).
Trying to use the paramter "tls" lead to the erro message `FAILED! => {"changed": false, "msg": "Unknown key \"tls\"."}`.

* Add changelog fragment

* Update changelogs/fragments/180-fix-tls-in-tool-email.yml

As suggested by felixfontein

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Johannes Münch <git@washiza.eu>
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-06-19 13:12:20 +02:00
Felix Fontein
d098c209e7 Release 2.8.1. 2023-06-14 17:35:45 +02:00
Felix Fontein
9cfb31ab18 Prepare 2.8.1 release. 2023-06-09 06:08:40 +02:00
Felix Fontein
42ea132d60
Fix bug in preprocessing when wrapped line is appended to a non-existing entry. (#177) 2023-06-09 06:03:42 +02:00
Felix Fontein
2b8c66b983
Switch to Ansible Galaxy compatible requirements files for tests. (#173) 2023-05-21 13:48:07 +02:00
Felix Fontein
4ec0945e55
Rewrite EE test workflow to use ansible-builder 3.0.0 (#171)
* Rewrite EE test workflow to use ansible-builder 3.0.0.

* Extend list of potential errors.
2023-05-20 12:11:45 +02:00
Felix Fontein
dd1e48c388
Do extra docs validation; explicitly disallow semantic markup in docs (#165)
* Do extra docs validation. Explicitly disallow semantic markup in docs.

* Forgot to add new requirement.

* Improve test.

* TEMP - make CI fail.

* Remove unnecessary import.

* Make sure ANSIBLE_COLLECTIONS_PATH is set.

* Revert "TEMP - make CI fail."

This reverts commit 445c56e7e1bcd844be59f1df9df00a9c8334ff55.

* Make sure sanity tests from older Ansible versions don't complain.
2023-04-16 19:01:53 +02:00
Felix Fontein
e5eff0b90e Fix order. 2023-04-16 18:16:19 +02:00
Felix Fontein
a7f47c0419 More fixes. 2023-04-16 18:01:19 +02:00
Felix Fontein
0caec0f2c3
Fix bad comma. (#166) 2023-04-16 16:08:57 +02:00
Felix Fontein
189088611d
Update CI matrix: add stable-2.15 (#163)
* Add ignore files for bumped devel version.

* Update CI matrix.
2023-04-04 06:12:43 +00:00
Felix Fontein
c1bd819db5 Release 2.8.0. 2023-03-23 22:14:38 +01:00
Felix Fontein
07a3311792 Prepare 2.8.0 release. 2023-03-23 21:28:31 +01:00
Sam Grimee - LX2SG
c1a6ae8658
Workaround prompt issues between ROS 6.49 and 7.1.5 (#62) (#161)
* Prompt support for ROS 6.49+ (#62)

* More precise version match (#62)

* Add changelog fragment and lint (#62)

* Update changelogs/fragments/161-workaround-prompt-with-space.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Vendor version package to support older ansible versions (#62)

* Update plugins/module_utils/routeros.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/module_utils/routeros.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* move PSF-2.0.txt to LICENSES folder

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-23 21:25:23 +01:00
Felix Fontein
4329928474
ip dhcp-client: dhcp-options can be removed with value '' (#154)
* dhcp-options can be removed with value ''.

* Fix handling of disabled keys on creation.

* Fix typo.
2023-03-19 13:14:55 +01:00
phox142
071f742100
Adapt SNMP support (#159)
* snmp support

* Add changelog fragment

* Update changelogs/fragments/159-snmp_community.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/159-snmp_community.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-11 18:17:26 +01:00
phox142
720debb323
Add support to disable ipv6 in API paths `ipv6 settings` (#158)
* add support to disable ipv6

* Add changelogs fragment

* Update changelogs/fragments/158-ipv6_settings-disable.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-11 18:16:43 +01:00
phox142
4d86ba1a7d
Correction and Bugfix for ip dhcp-server network (#156)
* API_DATA > ('ip', 'dhcp-server', 'network') > netmask
replace "automatically_computed_from" by 'can_disable=True, remove_value=0'
automatically_computed_from does not seem to be used at any place in the code
without 'can_disable=True, remove_value=0' task is marked as changed at each execution.

* API_DATA > ('ip', 'dhcp-server', 'network') > next-server
replace "default=''" by 'can_disable=True'
The default in routeros is "no value" and it was not possible to remove a configured next-server

* API_DATA > ('ip', 'dhcp-server', 'network') > gateway
replace "automatically_computed_from" by "default=''"
automatically_computed_from does not seem to be used

* API_DATA > ('ip', 'dhcp-server', 'network') > dns-none
replace "default=''" by "default=False"

* Add changelogs fragment

* Update changelogs/fragments/156-ip_dhcp-server_network.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-10 07:01:26 +01:00
phox142
ab87a27018
Add support for "ip firewall layer7-protocol" (#153)
* Add support for "ip firewall layer7-protocol"

* Add changelog fragment

* Add changelog fragment
2023-02-27 22:37:00 +01:00
Felix Fontein
bbf5be5d71
Normalize bools in documentation. (#151) 2023-02-15 22:28:50 +01:00
Felix Fontein
d39b3522ab Remove unnecessary import. 2023-02-12 21:22:30 +01:00
Felix Fontein
1dfa79c5ef
Remove unnecessary test imports. (#150) 2023-02-12 21:17:22 +01:00
Felix Fontein
622680fe3f
Remove unneccessary imports (#149)
* Remove unneccessary imports.

* Add noqas.
2023-02-06 07:42:39 +01:00
Felix Fontein
e7dafebc7a Release 2.7.0. 2023-01-14 15:15:46 +01:00
Felix Fontein
7166a0b35c Prepare 2.7.0 release. 2023-01-14 14:12:35 +01:00
Tomas Herfert
f38b01d7bb
API update (#144)
* API update

Signed-off-by: Tomas Herfert <herfik>

* fix changelog fragment directory

Signed-off-by: Tomas Herfert <herfik>

Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
2023-01-01 22:18:24 +01:00
Felix Fontein
d2caf56215 Release 2.6.0. 2023-01-01 08:14:34 +01:00
Felix Fontein
709abfb13f Prepare 2.6.0 release. 2022-12-29 08:52:49 +01:00
Andrei Costescu
586edbc211
Add regexp field to ip dns static (#142)
* Add regexp field to "ip dns static"

* Change test_invalid_required_missing to use "ip dhcp-server"

"ip dns static" requires name or regexp so it cannot be used in this test.

* Add required_one_of attribute to APIData

Used by "ip dns static" which requires either "name" or "regexp.

* Add mutually_exclusive attribute to APIData

Used by "ip dns static" where only one of "name" or "regexp" can be used.

* Add changelog fragment
2022-12-29 08:51:40 +01:00
Andrei Costescu
62da7dd4e3
Add wireguard interface and peers (#143)
* Add wireguard interface and peers

* Add changelog fragment
2022-12-27 21:41:42 +01:00
Felix Fontein
8e3b19759d Improve docsite build. 2022-12-18 21:50:43 +01:00
Felix Fontein
282439b356 Switch to my fork of ansible-test-gh-action. 2022-12-18 09:51:43 +01:00
Felix Fontein
d37ec11ac5 The ansible-test patch has been backported to stable-2.12. 2022-12-17 19:39:03 +01:00
Felix Fontein
f935a41b8a Allow triggering docs workflow manually. 2022-12-07 19:54:25 +01:00
Felix Fontein
5fa47579af
Backports to stable-2.13 and stable-2.14 have been merged. (#140)
https://github.com/ansible/ansible/pull/79538
https://github.com/ansible/ansible/pull/79507
2022-12-07 13:21:10 +01:00
Felix Fontein
215576fa1b Release 2.5.0. 2022-12-04 13:14:41 +01:00
Felix Fontein
78f1236942 Prepare 2.5.0 release. 2022-12-04 13:09:32 +01:00
Felix Fontein
f58727e53b
Only use ubuntu-20.04 if necessary. (#139) 2022-12-02 08:49:13 +01:00
Felix Fontein
338a8f2cd6
Switch CI from ubuntu-latest to ubuntu-20.04 to avoid problems with ansible-test from ansible-core 2.12, 2.13, 2.14. (#138) 2022-12-01 23:15:37 +01:00
Tomas Herfert
4376906ed0
Paths (#137)
* support for "interface ethernet poe" and "interface vrrp"

Signed-off-by: Tomas Herfert <herfik>

* support "interface gre6" path

Signed-off-by: Tomas Herfert <herfik>

* ip dhcp-server - fix

Signed-off-by: Tomas Herfert <herfik>

* docs & changelog

Signed-off-by: Tomas Herfert <herfik>

* support for "interface ethernet poe" and "interface vrrp"

Signed-off-by: Tomas Herfert <herfik>

* support "interface gre6" path

Signed-off-by: Tomas Herfert <herfik>

* ip dhcp-server - fix

Signed-off-by: Tomas Herfert <herfik>

* docs & changelog

Signed-off-by: Tomas Herfert <herfik>

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-11-29 13:06:02 +01:00
Felix Fontein
4ed2fc82e5 Include collection name into docs workflows. 2022-11-27 17:44:37 +01:00
Felix Fontein
38e00caedb
Directly reference filters. (#136) 2022-11-26 22:06:43 +01:00
Felix Fontein
61b28ba22d Reference documentation in README. 2022-11-26 10:15:19 +01:00
Felix Fontein
0f5ac3f061 Add GH Pages publishing. 2022-11-26 09:38:34 +01:00
Felix Fontein
14ba81ac60 Release 2.4.0. 2022-11-18 13:17:00 +01:00
Felix Fontein
d1ff3b2730
Add more tests for api_info and api_modify (#135)
* Add tests for builtin entries.

* Add tests for combined default and can_disable.
2022-11-18 12:55:34 +01:00
Tomas Herfert
309e2b1910
terminal regex udpate to match the terminal prompt in safe mode (#134)
* terminal regex udpate to match the terminal prompt in safe mode

Signed-off-by: Tomas Herfert <herfik>

* changelog

Signed-off-by: Tomas Herfert <herfik>

* yamllint fix

Signed-off-by: Tomas Herfert <herfik>

* Update changelogs/fragments/134-command-safemode.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-11-17 21:03:42 +01:00
Tomas Herfert
5af14a8940
support for new API paths and few updates (#133)
* support for new API paths and few updates

Signed-off-by: Tomas Herfert <herfik>

* changelog fix

Signed-off-by: Tomas Herfert <herfik>

* tests update

Signed-off-by: Tomas Herfert <herfik>

Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
2022-11-17 20:14:07 +01:00