ansible-roles/lxc-solr/tasks/main.yml

19 lines
459 B
YAML
Raw Normal View History

2019-07-02 18:11:54 +02:00
---
- name: LXC configuration
ansible.builtin.include_role:
2019-11-29 14:00:25 +01:00
name: evolix/lxc
2019-07-02 18:11:54 +02:00
- name: Ensure containers root directory is 755
ansible.builtin.file:
path: "/var/lib/lxc/{{ item.name }}/rootfs"
state: directory
mode: '0755'
2021-08-27 11:01:26 +02:00
loop: "{{ lxc_containers }}"
- ansible.builtin.include: solr.yml
args:
name: "{{ item.name }}"
solr_version: "{{ item.solr_version }}"
solr_port: "{{ item.solr_port }}"
2021-08-27 11:01:26 +02:00
loop: "{{ lxc_containers }}"