File

Action: file.copy
Key
Type
Optional
Description
action
string
no
file.copy
from
string
no
source file
to
string
no
destination file
template
bool
yes
renderes files using context providers, Default: false
chmod
int
yes
octal permissions

Example

- action: file.copy
from: managed_file
to: /root/file
template: true
chmod: 644
Last modified 2mo ago