quote¶
Collection Note
This module is part of the ansible.builtin collection. To install the collection, use:
Added in version2.10.
Synopsis¶
- Quote a string to safely use as in a POSIX shell.
Parameters¶
| Parameter | Defaults / Choices | Comments |
|---|---|---|
| _input str required |
String to quote. |
Notes¶
Note
- This is a passthrough to Python's C(shlex.quote).
Examples¶
Return Values¶
| Key | Data Type | Description | Returned |
|---|---|---|---|
| _value | str | Quoted string. |