aboutsummaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rw-r--r--tasks/jail_ingress.yml16
-rw-r--r--tasks/network.yml16
2 files changed, 16 insertions, 16 deletions
diff --git a/tasks/jail_ingress.yml b/tasks/jail_ingress.yml
index 78eb3e6..ff6e7d3 100644
--- a/tasks/jail_ingress.yml
+++ b/tasks/jail_ingress.yml
@@ -65,6 +65,22 @@
service -j ingress nginx onestart
when: ingress_nginx_enabled.rc != 0
+- name: Install hetzner_ddns.sh
+ template:
+ src: ingress/usr_local_bin_hetzner_ddns.sh.j2
+ dest: /usr/local/jails/containers/ingress/usr/local/bin/hetzner_ddns.sh
+ owner: root
+ group: wheel
+ mode: "0755"
+
+- name: Set up hetzner_auth
+ template:
+ src: ingress/usr_local_etc_hetzner_auth.j2
+ dest: /usr/local/jails/containers/ingress/usr/local/etc/hetzner_auth
+ owner: root
+ group: wheel
+ mode: "0600"
+
- name: Set up crontab
template:
src: ingress/etc_crontab.j2
diff --git a/tasks/network.yml b/tasks/network.yml
index e9143bd..3b95380 100644
--- a/tasks/network.yml
+++ b/tasks/network.yml
@@ -67,19 +67,3 @@
- name: Reload pf rules
shell: pfctl -f /etc/pf.conf
when: pf_conf.changed
-
-- name: Install hetzner_ddns.sh
- template:
- src: usr_local_bin_hetzner_ddns.sh.j2
- dest: /usr/local/bin/hetzner_ddns.sh
- owner: root
- group: wheel
- mode: "0755"
-
-- name: Set up hetzner_auth
- template:
- src: usr_local_etc_hetzner_auth.j2
- dest: /usr/local/etc/hetzner_auth
- owner: root
- group: wheel
- mode: "0600"