|
|
@ -141,7 +141,7 @@ notes:
|
|
|
|
2.1, the later requires python to be installed in the container which can
|
|
|
|
2.1, the later requires python to be installed in the container which can
|
|
|
|
be done with the command module.
|
|
|
|
be done with the command module.
|
|
|
|
- You can copy a file from the host to the container
|
|
|
|
- You can copy a file from the host to the container
|
|
|
|
with the Ansible M(copy) and M(templater) module and the `lxd` connection plugin.
|
|
|
|
with the Ansible M(copy) and M(template) module and the `lxd` connection plugin.
|
|
|
|
See the example below.
|
|
|
|
See the example below.
|
|
|
|
- You can copy a file in the creatd container to the localhost
|
|
|
|
- You can copy a file in the creatd container to the localhost
|
|
|
|
with `command=lxc file pull container_name/dir/filename filename`.
|
|
|
|
with `command=lxc file pull container_name/dir/filename filename`.
|
|
|
|