- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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']