Include floating ip
This commit is contained in:
1 parent
25b688ec42
commit
c6dc7b0008
6 files changed
+40
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
@@ -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 %}"
|
||||
|
||||
Reference in new issue
Block a user