Advance the state of the art config imagination

This commit is contained in:
Luke Murphy
2020-04-14 12:42:45 +02:00
parent d56aee909c
commit a1e060c93e
3 changed files with 15 additions and 15 deletions

View File

@ -1,18 +1,18 @@
---
- name: Open up the Dat port
dokku_ports:
app: "{{ app }}"
app: "{{ dokku.app_name }}"
mappings:
- "http:{{ dat_port }}:{{ dat_port }}"
- "http:{{ vars.dat_port }}:{{ vars.dat_port }}"
state: present
- name: "Allow access to {{ dat_port }} on the firewall"
- name: "Allow access to {{ vars.dat_port }} on the firewall"
become: true
ufw:
rule: allow
port: "{{ dat_port }}"
port: "{{ vars.dat_port }}"
- name: "Reload the firewall to enable {{ dat_port }}"
- name: "Reload the firewall to enable {{ vars.dat_port }}"
become: true
service:
name: ufw