Update access keys for vars

This commit is contained in:
Luke Murphy 2020-04-14 13:46:17 +02:00
parent f9004b015f
commit 0299a1cd3d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
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

View File

@ -1,18 +1,18 @@
---
directory: {{ vars.dat_root }}
httpMirror: {{ vars.http_mirror }}
letsencrypt: {{ vars.auto_letsencrypt }}
dashboard: {{ vars.dashboard }}
directory: {{ config.vars.dat_root }}
httpMirror: {{ config.vars.http_mirror }}
letsencrypt: {{ config.vars.auto_letsencrypt }}
dashboard: {{ config.vars.dashboard }}
webapi:
domain: {{ vars.domain }}
username: {{ vault.webapi_username }}
password: {{ vault.webapi_password }}
domain: {{ config.vars.domain }}
username: {{ config.vault.webapi_username }}
password: {{ config.vault.webapi_password }}
ports:
http: {{ vars.port }}
http: {{ config.vars.port }}
dats:
{% for dat in vars.dats %}
{% for dat in config.vars.dats %}
- url: "{{ dat }}"
{% endfor %}