Using a list ensures that all subprocess arguments are correctly escaped. By building strings and then calling .split(), potential arguments with a space will be incorrectly split over two arguments. When a string is needed for presentation, join to the list to build the string. |
||
---|---|---|
.. | ||
become | ||
cache | ||
callback | ||
connection | ||
doc_fragments | ||
filter | ||
inventory | ||
lookup | ||
module_utils | ||
modules |