add re-build

This commit is contained in:
Antonio J. Delgado 2022-11-19 20:20:35 +02:00
parent adc2c0c762
commit e55bd72716

View file

@ -95,6 +95,12 @@
regexp: "^VAPID_PUBLIC_KEY=" regexp: "^VAPID_PUBLIC_KEY="
backup: yes backup: yes
- name: Build (again) Mastodon container to include secrets
community.docker.docker_compose:
project_name: mastodon
project_src: "{{ mastodon_composer_folder }}/"
state: present
- name: Set up database - name: Set up database
shell: docker-compose run --rm web rails db:migrate && echo "Database set up." > /var/lib/mastodon_db_setup shell: docker-compose run --rm web rails db:migrate && echo "Database set up." > /var/lib/mastodon_db_setup
args: args: