--- - name: "Habit Trove | Restore any missing volumes from S3" ansible.builtin.include_role: name: chatton.docker_backup.docker_s3_volume_restore vars: docker_backup_s3_volume: "{{ item }}" with_items: - name: "{{ habit_trove_portainer_stack_name }}_data" - name: "{{ habit_trove_portainer_stack_name }}_backups" - name: "Habit Trove | Update Portainer." chatton.portainer.portainer_stack: username: '{{ portainer_user }}' password: '{{ portainer.password }}' base_url: '{{ portainer_base_url }}' stack_name: '{{ habit_trove_portainer_stack_name }}' endpoint_id: '{{ portainer_endpoint }}' state: "{{ habit_trove_state }}" definition: version: '3' services: habittrove: labels: "{{ backup_labels }}" container_name: "{{ habit_trove_container_name }}" image: "{{ habit_trove_image }}:{{ habit_trove_tag }}" environment: AUTH_SECRET: "{{ habit_trove_auth_secret }}" ports: - "{{ habit_trove_expose_port }}:3000" volumes: - data:/app/data - backups:/app/backups restart: "{{ restart_policy }}" volumes: data: {} backups: {}