community.routeros.join (2.14.0) — filter

Join a list of arguments to a command

| "added in version" 2.0.0 of community.routeros"

Authors: Felix Fontein (@felixfontein)

Install collection

Install with ansible-galaxy collection install community.routeros:==2.14.0


Add to requirements.yml

  collections:
    - name: community.routeros
      version: 2.14.0

Description

Join and quotes a list of arguments to a command.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Join arguments for a RouterOS CLI command
  ansible.builtin.set_fact:
    arguments: "{{ ['foo=bar', 'comment=foo is bar'] | community.routeros.join }}"

Inputs

    
_input:
    description:
    - A list of arguments to quote and join.
    elements: string
    required: true
    type: list

Outputs

_value:
  description: The joined and quoted result.
  type: string