Include floating ip

This commit is contained in:
lhahn committed 2024-07-29 13:44:32 +02:00
1 parent 25b688ec42
commit c6dc7b0008
6 files changed
+40 -2

No files matched your search

+3
View File
@@ -28,6 +28,9 @@
import_tasks: swap.yml
when: swap_on
- name: Setup networking
import_tasks: networking.yml
- name: Setup basic cloud folders for apps and storage
file:
state: directory
+9
View File
@@ -0,0 +1,9 @@
---
- name: setup floating ips
template:
src: "./etc/networking/interfaces.d/60-floating-ip.cfg.j2"
dest: "/etc/networking/interfaces.d/60-floating-ip.cfg"
owner: root
group: root
mode: 0644
notify: restart networking service
+1 -1
View File
@@ -1,5 +1,5 @@
---
- name: install fail2ban service
- name: install wireguard service
apt:
update_cache: yes
state: "{% if cloud_update | bool %}latest{% else %}present{% endif %}"