--- - hosts: all gather_facts: false tasks: - name: Load variables include_vars: dir: "{{ dokku_lib_root }}/data/ansible/homebase/vars/" extensions: - yml - name: "Configure {{ domain }} domain" dokku_domains: app: homebase domains: - "{{ domain }}" state: present - name: Specify docker volume mount dokku_storage: app: homebase mounts: - /var/lib/homebase:/root/ - name: Configure the app environment dokku_config: app: homebase restart: false config: DOKKU_LETSENCRYPT_EMAIL: "{{ autonomic_admin_mail }}" - name: Symlink the authorized keys configuration vars: dat_root: "{{ dat_root }}" http_mirror: "{{ http_mirror }}" auto_letsencrypt: "{{ auto_letsencrypt }}" dashboard: "{{ dashboard }}" domain: "{{ domain }}" webapi_username: "{{ webapi_username }}" webapi_password: "{{ webapi_password }}" http_port: "{{ http_port }}" dats: "{{ dats }}" template: src: homebase.yml.j2 dest: /var/lib/.homebase.yml owner: dokku group: dokku become: true