Fix state and format config

This commit is contained in:
Luke Murphy 2020-04-14 12:30:25 +02:00
parent 4ab78afc1d
commit 4c192e91ba
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,7 @@
app: "{{ app }}"
mappings:
- "http:{{ dat_port }}:{{ dat_port }}"
state: absent
state: present
- name: "Allow access to {{ dat_port }} on the firewall"
become: true

View File

@ -3,12 +3,15 @@ directory: {{ dat_root }}
httpMirror: {{ http_mirror }}
letsencrypt: {{ auto_letsencrypt }}
dashboard: {{ dashboard }}
webapi:
domain: {{ domain }}
username: {{ webapi_username }}
password: {{ webapi_password }}
ports:
http: {{ port }}
dats:
{% for dat in dats %}
- url: "{{ dat }}"