Note
This filter plugin is part of the community.routeros collection (version 3.9.0).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install community.routeros.
To use it in a playbook, specify: community.routeros.join.
New in community.routeros 2.0.0
This describes the input of the filter, the value before | community.routeros.join.
Parameter | Comments |
|---|---|
Input list / elements=string / required | A list of arguments to quote and join. |
---
- 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"'
Key | Description |
|---|---|
Return value string | The joined and quoted result. Returned: success |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/routeros/join_filter.html