--- - hosts: all gather_facts: false tasks: - name: Load variables include_vars: dir: "{{ dokku_lib_root }}/data/ansible/minio/vars/" extensions: - yml - name: "Configure {{ domain }} domain" dokku_domains: app: minio domains: - "{{ domain }}" state: present - name: Create application directories file: path: "{{ item }}" state: directory owner: git group: git with_items: - /var/lib/minio become: true - name: Specify docker volume mount dokku_storage: app: minio mounts: - /var/run/minio:/data - name: Configure the app environment dokku_config: app: minio restart: false config: DOKKU_LETSENCRYPT_EMAIL: "{{ autonomic_admin_mail }}" MINIO_ACCESS_KEY: "{{ minio_access_key }}" MINIO_SECRET_KEY: "{{ minio_secret_key }}"