Simplify lxc usage
This commit is contained in:
@@ -33,14 +33,5 @@
|
||||
lxc_container:
|
||||
name: "lxc-{{ item.name }}-{{ item.revision }}"
|
||||
template: "{{ item.template }}"
|
||||
with_items: "{{ lxc.containers }}"
|
||||
|
||||
- name: lxc - config
|
||||
template:
|
||||
dest: "/var/lib/lxc/lxc-{{ item.name }}-{{ item.revision }}/config"
|
||||
src: lxc.j2
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
backup: yes
|
||||
container_config: "{{ item.config}}"
|
||||
with_items: "{{ lxc.containers }}"
|
||||
|
||||
Reference in New Issue
Block a user