File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -542,7 +542,16 @@ def write(
542
542
recursive : bool = True ,
543
543
) -> Return :
544
544
"""
545
- Copy the `src` file to `path`, optionally templating the contents in `src`.
545
+ Write the `src` file(s) from the playbook to `path`.
546
+ The `write()` task pulls the `src` file(s) from the playbook and writes them to
547
+ `path`. This is typically used for templates or other files/data that are provided
548
+ as a part of the playbook to write to the destination system (for example:
549
+ configurations, scaffolding, etc).
550
+
551
+ Optionally templating the contents in `src`. It can also template file names when
552
+ doing recursive operations.
553
+
554
+ The `src` files are searched for using the `UP_FILES_PATH` search path.
546
555
547
556
Args:
548
557
path: Name of destination file. (templateable).
You can’t perform that action at this time.
0 commit comments