2019-07-02 18:11:54 +02:00
|
|
|
---
|
|
|
|
- name: LXC configuration
|
|
|
|
include_role:
|
|
|
|
name: lxc
|
|
|
|
|
2019-07-04 12:22:46 +02:00
|
|
|
- name: Ensure containers root directory is 755
|
|
|
|
file:
|
|
|
|
path: "/var/lib/lxc/{{ item.name }}/rootfs"
|
|
|
|
state: directory
|
|
|
|
mode: '0755'
|
|
|
|
with_items:
|
|
|
|
- "{{ lxc_containers }}"
|
|
|
|
|
2019-07-02 18:11:54 +02:00
|
|
|
- include: "solr.yml name={{item.name}} solr_version={{item.solr_version}} solr_port={{item.solr_port}}"
|
|
|
|
with_items:
|
|
|
|
- "{{ lxc_containers }}"
|