mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
Use common file argument system previously implemented by @sivel for rax modules on the file modules as well (copy/file/template).
Application to other cloud providers would make very good sense.
This commit is contained in:
parent
7b5f89ec7c
commit
1fa19e29e8
4 changed files with 14 additions and 63 deletions
|
@ -47,10 +47,6 @@ options:
|
|||
required: false
|
||||
default: ""
|
||||
version_added: "1.2"
|
||||
others:
|
||||
description:
|
||||
- all arguments accepted by the M(file) module also work here, as well as the M(copy) module (except the the 'content' parameter).
|
||||
required: false
|
||||
notes:
|
||||
- "Since Ansible version 0.9, templates are loaded with C(trim_blocks=True)."
|
||||
|
||||
|
@ -59,6 +55,7 @@ notes:
|
|||
which changes the variable interpolation markers to [% var %] instead of {{ var }}. This is the best way to prevent evaluation of things that look like, but should not be Jinja2. raw/endraw in Jinja2 will not work as you expect because templates in Ansible are recursively evaluated."
|
||||
|
||||
requirements: []
|
||||
extends_documentation_fragment: files.DOCUMENTATION
|
||||
author: Michael DeHaan
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue