Files
ansible-fet/roles/ariane/tasks/lxc.yml
Daniel A. Maierhofer fe190983df Add python-lxc package
2018-03-15 00:13:49 +01:00

31 lines
564 B
YAML

---
- name: lxc - install lxc
apt: name=lxc
- name: lxc - install libpam-cgfs
apt: name=libpam-cgfs
- name: lxc - install bridge-utils
apt: name=bridge-utils
- name: lxc - install python-lxc
apt: name=python-lxc
- name: lxc - /etc/default/lxc-net
copy:
dest: /etc/default/lxc-net
content: 'USE_LXC_BRIDGE="true"'
owner: root
group: root
mode: 0644
backup: yes
- name: lxc - /etc/lxc/default.conf
copy:
dest: /etc/lxc/default.conf
src: lxc_default.conf
owner: root
group: root
mode: 0644
backup: yes