From 5cdef6c9f2d57b258ee3a384e4ee404968c14c73 Mon Sep 17 00:00:00 2001 From: felixfontein Date: Sat, 26 Apr 2025 10:26:44 +0000 Subject: [PATCH] deploy: 08152376de116e7d933d19ee25318f7a2eb222ae --- branch/main/api_facts_module.html | 3 ++- branch/main/api_find_and_modify_module.html | 3 ++- branch/main/api_info_module.html | 3 ++- branch/main/api_modify_module.html | 3 ++- branch/main/api_module.html | 3 ++- branch/main/command_module.html | 3 ++- branch/main/facts_module.html | 3 ++- branch/main/join_filter.html | 3 ++- branch/main/list_to_dict_filter.html | 3 ++- branch/main/quote_argument_filter.html | 6 ++++-- branch/main/quote_argument_value_filter.html | 6 ++++-- branch/main/split_filter.html | 6 ++++-- 12 files changed, 30 insertions(+), 15 deletions(-) diff --git a/branch/main/api_facts_module.html b/branch/main/api_facts_module.html index b33d2f2..f588856 100644 --- a/branch/main/api_facts_module.html +++ b/branch/main/api_facts_module.html @@ -404,7 +404,8 @@ see

Examples

-
- name: Collect all facts from the device
+
---
+- name: Collect all facts from the device
   community.routeros.api_facts:
     hostname: 192.168.88.1
     username: admin
diff --git a/branch/main/api_find_and_modify_module.html b/branch/main/api_find_and_modify_module.html
index 4e14422..28493f0 100644
--- a/branch/main/api_find_and_modify_module.html
+++ b/branch/main/api_find_and_modify_module.html
@@ -450,7 +450,8 @@ see 
 

Examples

-
- name: Rename bridge from 'bridge' to 'my-bridge'
+
---
+- name: Rename bridge from 'bridge' to 'my-bridge'
   community.routeros.api_find_and_modify:
     hostname: "{{ hostname }}"
     password: "{{ password }}"
diff --git a/branch/main/api_info_module.html b/branch/main/api_info_module.html
index 2414adc..e2bd47e 100644
--- a/branch/main/api_info_module.html
+++ b/branch/main/api_info_module.html
@@ -761,7 +761,8 @@ see 
 

Examples

-
- name: Get IP addresses
+
---
+- name: Get IP addresses
   community.routeros.api_info:
     hostname: "{{ hostname }}"
     password: "{{ password }}"
diff --git a/branch/main/api_modify_module.html b/branch/main/api_modify_module.html
index 4dea121..1557c2d 100644
--- a/branch/main/api_modify_module.html
+++ b/branch/main/api_modify_module.html
@@ -776,7 +776,8 @@ see 
 

Examples

-
- name: Setup DHCP server networks
+
---
+- name: Setup DHCP server networks
   # Ensures that we have exactly two DHCP server networks (in the specified order)
   community.routeros.api_modify:
     path: ip dhcp-server network
diff --git a/branch/main/api_module.html b/branch/main/api_module.html
index 03d8329..1178a1e 100644
--- a/branch/main/api_module.html
+++ b/branch/main/api_module.html
@@ -562,7 +562,8 @@ see 
 

Examples

-
- name: Get example - ip address print
+
---
+- name: Get example - ip address print
   community.routeros.api:
     hostname: "{{ hostname }}"
     password: "{{ password }}"
diff --git a/branch/main/command_module.html b/branch/main/command_module.html
index e270912..a69befe 100644
--- a/branch/main/command_module.html
+++ b/branch/main/command_module.html
@@ -284,7 +284,8 @@ To check whether it is installed, run 
 

Examples

-
- name: Run command on remote devices
+
---
+- name: Run command on remote devices
   community.routeros.command:
     commands: /system routerboard print
 
diff --git a/branch/main/facts_module.html b/branch/main/facts_module.html
index f2725b6..6068289 100644
--- a/branch/main/facts_module.html
+++ b/branch/main/facts_module.html
@@ -257,7 +257,8 @@ To check whether it is installed, run 
 

Examples

-
- name: Collect all facts from the device
+
---
+- name: Collect all facts from the device
   community.routeros.facts:
     gather_subset: all
 
diff --git a/branch/main/join_filter.html b/branch/main/join_filter.html
index 66cf09a..4b610ea 100644
--- a/branch/main/join_filter.html
+++ b/branch/main/join_filter.html
@@ -186,7 +186,8 @@ To check whether it is installed, run 
 

Examples

-
- name: Join arguments for a RouterOS CLI command
+
---
+- name: Join arguments for a RouterOS CLI command
   ansible.builtin.set_fact:
     arguments: "{{ ['foo=bar', 'comment=foo is bar'] | community.routeros.join }}"
     # Should result in 'foo=bar comment="foo is bar"'
diff --git a/branch/main/list_to_dict_filter.html b/branch/main/list_to_dict_filter.html
index a2259c6..6d00da5 100644
--- a/branch/main/list_to_dict_filter.html
+++ b/branch/main/list_to_dict_filter.html
@@ -226,7 +226,8 @@ example: input
 

Examples

-
- name: Convert a list to a dictionary
+
---
+- name: Convert a list to a dictionary
   ansible.builtin.set_fact:
     dictionary: "{{ ['foo=bar', 'comment=foo is bar'] | community.routeros.list_to_dict }}"
     # dictionary == {'foo': 'bar', 'comment': 'foo is bar'}
diff --git a/branch/main/quote_argument_filter.html b/branch/main/quote_argument_filter.html
index 6bdc843..2935859 100644
--- a/branch/main/quote_argument_filter.html
+++ b/branch/main/quote_argument_filter.html
@@ -186,9 +186,11 @@ To check whether it is installed, run 
 

Examples

-
- name: Quote a RouterOS CLI command argument
+
---
+- name: Quote a RouterOS CLI command argument
   ansible.builtin.set_fact:
-    quoted: "{{ 'comment=this is a "comment"' | community.routeros.quote_argument }}"
+    quoted: >-
+      {{ 'comment=this is a "comment"' | community.routeros.quote_argument }}
     # Should result in 'comment="this is a \"comment\""'
 
diff --git a/branch/main/quote_argument_value_filter.html b/branch/main/quote_argument_value_filter.html index f8b8c78..b85c76d 100644 --- a/branch/main/quote_argument_value_filter.html +++ b/branch/main/quote_argument_value_filter.html @@ -186,9 +186,11 @@ To check whether it is installed, run

Examples

-
- name: Quote a RouterOS CLI command argument's value
+
---
+- name: Quote a RouterOS CLI command argument's value
   ansible.builtin.set_fact:
-    quoted: "{{ 'this is a "comment"' | community.routeros.quote_argument_value }}"
+    quoted: >-
+      {{ 'this is a "comment"' | community.routeros.quote_argument_value }}
     # Should result in '"this is a \"comment\""'
 
diff --git a/branch/main/split_filter.html b/branch/main/split_filter.html index 48206e1..da8adef 100644 --- a/branch/main/split_filter.html +++ b/branch/main/split_filter.html @@ -185,9 +185,11 @@ To check whether it is installed, run

Examples

-
- name: Split command into list of arguments
+
---
+- name: Split command into list of arguments
   ansible.builtin.set_fact:
-    argument_list: "{{ 'foo=bar comment="foo is bar" baz' | community.routeros.split }}"
+    argument_list: >-
+      {{ 'foo=bar comment="foo is bar" baz' | community.routeros.split }}
     # Should result in ['foo=bar', 'comment=foo is bar', 'baz']