initial commit
This commit is contained in:
14
ansible/roles/lxc/tasks/main.yml
Normal file
14
ansible/roles/lxc/tasks/main.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: Install LXC
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- lxc
|
||||
- lxc-templates
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
- name: Ensure unprivileged defaults
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/lxc/default.conf
|
||||
content: |
|
||||
lxc.net.0.type = empty
|
||||
# Jagacloud will render per-CT configs under /etc/jagacloud/lxc
|
||||
Reference in New Issue
Block a user