description |
---|
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 |
passphrase |
string | yes | if set, decrypt files with the given passphrase |
- action: file.copy
from: managed_file
to: /root/file
template: true
chmod: 644