aboutsummaryrefslogtreecommitdiffstats
path: root/playbook.yml
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-12 15:06:28 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-12 22:27:15 +0300
commit4715a28fdcd87440400d17154bfa361d99db29cc (patch)
tree52b825ca69ed3fc535f8f46de0ee1d2b1a6e2ade /playbook.yml
parented338ea29f1c0f2ad82d3a45b23c0544371b5575 (diff)
Add local vm for testing, adjust configs
Diffstat (limited to 'playbook.yml')
-rw-r--r--playbook.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/playbook.yml b/playbook.yml
index 3ff7ebd..9269a44 100644
--- a/playbook.yml
+++ b/playbook.yml
@@ -1,6 +1,6 @@
---
- name: Configure my FreeBSD home server
- hosts: pursotin
+ hosts: hosts
pre_tasks:
- name: Fail if secrets.yml wasn't loaded and smtp_user is missing
@@ -41,7 +41,7 @@
- { userland: "{{ jail_userland_15_0 }}", num: 17, name: syncthing }
- { userland: "{{ jail_userland_15_0 }}", num: 18, name: komga }
- { userland: "{{ jail_userland_15_0 }}", num: 19, name: leolalla_fi }
- ingress_ip: 192.168.2.1
+ ingress_ip: "{{ jail_lan_prefix }}.{{ 1 + jail_ip_offset }}"
ingress_routes:
- { host: jan.systems, jail: homepage }
- { host: jantuomi.fi, redirect: jan.systems }
@@ -77,10 +77,12 @@
- name: Run email tasks
tags: [email]
import_tasks: tasks/email.yml
+ when: not is_test_vm
- name: Run ZFS tasks
tags: [zfs]
import_tasks: tasks/zfs.yml
+ when: not is_test_vm
- name: Run common jails tasks
tags: [jails]