diff --git a/deploy.d/plays/predeploy.yml b/deploy.d/plays/predeploy.yml index bbbd3a2..4daf6c2 100644 --- a/deploy.d/plays/predeploy.yml +++ b/deploy.d/plays/predeploy.yml @@ -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 diff --git a/deploy.d/templates/homebase.yml.j2 b/deploy.d/templates/homebase.yml.j2 index 0027c28..477a2bc 100644 --- a/deploy.d/templates/homebase.yml.j2 +++ b/deploy.d/templates/homebase.yml.j2 @@ -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 }}"