Add lxc template
This commit is contained in:
26
roles/ariane/tasks/lxc.yml
Normal file
26
roles/ariane/tasks/lxc.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
- name: lxc - install lxc
|
||||
apt: name=lxc
|
||||
|
||||
- name: lxc - install bridge-utils
|
||||
apt: name=bridge-utils
|
||||
|
||||
- name: lxc - /etc/default/lxc-net
|
||||
copy:
|
||||
dest: /etc/default/lxc-net
|
||||
content: 'USE_LXC_BRIDGE="true"\n'
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
backup: yes
|
||||
|
||||
- name: lxc - /etc/lxc/default
|
||||
copy:
|
||||
dest: /etc/lxc/default
|
||||
src: lxc_default.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
backup: yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user