MOON
Server: Apache
System: Linux kvm.asjudinet.com 5.14.0-611.54.6.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 04:23:18 EDT 2026 x86_64
User: asjudine (1001)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3.9/site-packages/ansible/plugins/filter/quote.yml
DOCUMENTATION:
  name: quote
  version_added: "2.10"
  short_description: shell quoting
  description:
    - Quote a string to safely use as in a POSIX shell.
  notes:
    - This is a passthrough to Python's C(shlex.quote).
  positional: _input
  options:
    _input:
      description: String to quote.
      type: str
      required: true

EXAMPLES: |
  - name: Run a shell command
    shell: echo {{ string_value | quote }}

RETURN:
  _value:
    description: Quoted string.
    type: str