Update access keys for vars

This commit is contained in:
Luke Murphy
2020-04-14 13:46:17 +02:00
parent f9004b015f
commit 0299a1cd3d
2 changed files with 14 additions and 14 deletions

View File

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