Type: file #15

Open
opened 2025-03-16 20:43:04 +00:00 by CyberShell · 2 comments
Owner

This will allow for files to be added to remote systems. Templates can be used.

This will allow for files to be added to remote systems. Templates can be used.
Author
Owner
type: file
src: path/to/nginx.conf
dst: /etc/nginx/nginx.conf
mode: 0700
templates: 
  vars: path/to/varfile
  file: path/to/nginx.temp
```yaml type: file src: path/to/nginx.conf dst: /etc/nginx/nginx.conf mode: 0700 templates: vars: path/to/varfile file: path/to/nginx.temp ```
Author
Owner
type: file
src: path/to/nginx.conf
dst: /etc/nginx/nginx.conf
mode: 0700
templates: 
  vars: path/to/varfile
  file: etc/nginx/nginx.temp

If vars are not specified, the file name with .vars appended should be used. In this case, it would be etc/nginx/nginx.vars.

> ```yaml > type: file > src: path/to/nginx.conf > dst: /etc/nginx/nginx.conf > mode: 0700 > templates: > vars: path/to/varfile > file: etc/nginx/nginx.temp > ``` If vars are not specified, the file name with `.vars` appended should be used. In this case, it would be `etc/nginx/nginx.vars`.
CyberShell added the
Kind/Feature
Priority
Medium
labels 2025-03-22 17:20:13 +00:00
Sign in to join this conversation.
No description provided.