Fix LXC config
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: iptables - install iptables-persistent
|
||||
- name: iptables - install iptables-persistent
|
||||
apt: name=iptables-persistent
|
||||
|
||||
- name: /etc/iptables/rules.v4
|
||||
|
||||
@@ -2,21 +2,24 @@
|
||||
- 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 - /etc/default/lxc-net
|
||||
copy:
|
||||
dest: /etc/default/lxc-net
|
||||
content: 'USE_LXC_BRIDGE="true"\n'
|
||||
content: 'USE_LXC_BRIDGE="true"'
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
backup: yes
|
||||
|
||||
- name: lxc - /etc/lxc/default
|
||||
- name: lxc - /etc/lxc/default.conf
|
||||
copy:
|
||||
dest: /etc/lxc/default
|
||||
dest: /etc/lxc/default.conf
|
||||
src: lxc_default.conf
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
@@ -16,5 +16,9 @@
|
||||
tags: ['ariane_iptables', 'iptables']
|
||||
|
||||
- include: zfs.yml
|
||||
whan: ariane_zfs
|
||||
when: ariane_zfs
|
||||
tags: ['ariane_zfs', 'zfs']
|
||||
|
||||
- include: lxc.yml
|
||||
when: ariane_lxc
|
||||
tags: ['ariane_lxc', 'lxc']
|
||||
|
||||
Reference in New Issue
Block a user