file
Collection: builtin
Full Name: parallax.builtin.file
Aliases: ansible.builtin.file, file
Synopsis
Manage file
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| path | string | yes | Path to the file or directory | |
| state | string | file | State of the file (absent, directory, touch) | |
| mode | string | The permission mode of the file or directory | ||
| owner | string | Name of the user that should own the file | ||
| group | string | Name of the group that should own the file |
Example
- name: Example file task
file:
path: <your_path>