module arguments

The settings you give a module to describe what you want, such as path=demo state=directory for the file module.

In more detail

On the command line they follow -a as key=value pairs, quoted when there is more than one. In a playbook they are written as a YAML mapping indented under the module name. Most arguments describe a state rather than an action, which is what lets the module decide whether anything needs to change.

Related terms

Taught in

References

Certification courses