Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (20 loc) · 1.23 KB

File metadata and controls

25 lines (20 loc) · 1.23 KB
description
Action: file.copy

File

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

Example

- action: file.copy
  from: managed_file
  to: /root/file
  template: true
  chmod: 644