7c632352a0
The behaviour of the `include` module is badly defined (it try to choose between statically importing the tasks and dynamically including them) and can cause problems depending on any number of constraints (mostly if it choose the wrong behaviour). Replace it with the `import_tasks` (always statically import tasks) unless the `include` is in a loop in which case we replace it with `include_tasks` (always dynamically include tasks). |
||
---|---|---|
.. | ||
defaults | ||
meta | ||
tasks | ||
templates | ||
README.md |
lxc
Install and configure lxc and create containers.
Tasks
Everything is in the tasks/main.yml
file.
Available variables
Here is the list of available variables:
lxc_unprivilegied_containers
: should LXC containers run in unprivilegied (non root) mode? Currentlylxc_unprivilegied_containers: true
does not work. Default:false
lxc_network_type
: network type to use. See lxc.container.conf(5). Default:"none"
lxc_mount_part
: partition to bind mount into containers. Default:"/home"
lxc_containers
: list of LXC containers to create. Default:[]
(empty). Eg.:lxc_containers: - name: php56 release: jessie - name: php70 release: stretch