Browse Source

add optional size to container role with default

pydio
Edoardo Putti 8 years ago
parent
commit
7d382bf67c
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      roles/lxc_guest/defaults/main.yaml
  2. +1
    -0
      roles/lxc_guest/tasks/main.yaml

+ 1
- 0
roles/lxc_guest/defaults/main.yaml View File

@ -2,3 +2,4 @@
auto_start: true
container_state: started
distro: jessie
vm_size: 5G

+ 1
- 0
roles/lxc_guest/tasks/main.yaml View File

@ -13,6 +13,7 @@
lxc_container:
name: "{{ vm_name }}"
backing_store: lvm
fs_size: "{{ vm_size }}"
vg_name: "{{ inventory_hostname }}vg"
lv_name: "vm_{{ vm_name }}"
fs_type: xfs


Loading…
Cancel
Save