mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add example of templating inline using copy module (#19752)
* Add example of templating inline using copy module The **copy** module documentation implies that `content:` only works for 'simple values' and for complex stuff you need the **template** module, but that is an understatement. You can use **copy** to template anything you desire. So I changed the wording, added an example, and also added a note to the template module that the **copy** module could be used for 'inline templating'. This fixes #19741.
This commit is contained in:
committed by
Toshio Kuratomi
parent
4e8b28e404
commit
be1c517f4d
@@ -230,7 +230,6 @@ lib/ansible/modules/files/acl.py
|
||||
lib/ansible/modules/files/archive.py
|
||||
lib/ansible/modules/files/assemble.py
|
||||
lib/ansible/modules/files/blockinfile.py
|
||||
lib/ansible/modules/files/copy.py
|
||||
lib/ansible/modules/files/ini_file.py
|
||||
lib/ansible/modules/files/iso_extract.py
|
||||
lib/ansible/modules/files/replace.py
|
||||
|
||||
Reference in New Issue
Block a user