From 4715a28fdcd87440400d17154bfa361d99db29cc Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 12 May 2026 15:06:28 +0300 Subject: Add local vm for testing, adjust configs --- tasks/jail_ingress.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tasks/jail_ingress.yml') diff --git a/tasks/jail_ingress.yml b/tasks/jail_ingress.yml index 1848177..5945e42 100644 --- a/tasks/jail_ingress.yml +++ b/tasks/jail_ingress.yml @@ -1,3 +1,20 @@ +- name: Ensure ingress goaccess mount points exist + file: + path: "{{ item }}" + state: directory + owner: root + group: wheel + mode: "0755" + loop: + - /usr/local/jails/containers/goaccess/var/www/goaccess + - /usr/local/jails/containers/ingress/mnt/www_goaccess + +- name: Start ingress jail + shell: service jail start ingress + register: ingress_jail_start + failed_when: false + changed_when: "'already running' not in ingress_jail_start.stderr" + - name: Install packages inside jail loop: - { jail: ingress, package: nginx } -- cgit v1.3