Update access keys for vars
This commit is contained in:
parent
f9004b015f
commit
0299a1cd3d
@ -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
|
||||
|
@ -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 %}
|
||||
|
Reference in New Issue
Block a user