diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-05-13 00:13:57 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-05-16 18:42:27 +0300 |
| commit | b5860daf11ac353049cb1654b9414a129e5cfb96 (patch) | |
| tree | 87ed89711e4f0e85ace0a97fa123199152c67302 /tasks/jails.yml | |
| parent | 4715a28fdcd87440400d17154bfa361d99db29cc (diff) | |
Rework
Diffstat (limited to 'tasks/jails.yml')
| -rw-r--r-- | tasks/jails.yml | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/tasks/jails.yml b/tasks/jails.yml deleted file mode 100644 index 58d22d8..0000000 --- a/tasks/jails.yml +++ /dev/null @@ -1,49 +0,0 @@ -- name: Ensure jails directory exists - file: - path: /usr/local/jails - state: directory - owner: root - group: wheel - mode: "0755" - -- name: Create ZFS datasets - loop: - - { name: "zroot/jails", mountpoint: "/usr/local/jails" } - - { name: "zroot/jails/media" } - - { name: "zroot/jails/templates" } - - { - name: "zroot/jails/templates/{{ jail_userland_14_3 }}", - userland: "{{ jail_userland_14_3 }}", - } - - { - name: "zroot/jails/templates/{{ jail_userland_15_0 }}", - userland: "{{ jail_userland_15_0 }}", - } - - { name: "zroot/jails/containers" } - loop_control: - loop_var: dataset - include_tasks: jails_dataset.yml - -- name: Configure jails - block: - - name: Configure jail.conf - template: - src: etc_jail.conf.j2 - dest: /etc/jail.conf - owner: root - group: wheel - mode: "0644" - - - name: Configure devfs.rules - template: - src: etc_devfs.rules.j2 - dest: /etc/devfs.rules - owner: root - group: wheel - mode: "0644" - - - name: Configure individual jails - loop: "{{ jails }}" - loop_control: - loop_var: jail - include_tasks: jails_single.yml |
