Skip to content
Snippets Groups Projects
Verified Commit 1edc1e91 authored by w4tsn's avatar w4tsn
Browse files

fix newly introduced linter issues after ansible|ansible-lint update

parent 70c9b119
Branches
Tags
No related merge requests found
Pipeline #7542 passed with stages
in 17 minutes and 1 second
......@@ -187,25 +187,25 @@
- docker
- mastodon
- name: Run pre compose database migrations
ansible.legacy.command: docker-compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true web rails db:migrate
args:
ansible.legacy.command:
cmd: docker-compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true web rails db:migrate
chdir: "{{ docker_mastodon_install_location }}"
register: pre_database_migrations
changed_when: pre_database_migrations.rc == 0
environment:
PYTHONPATH: ""
- name: Clear cache
ansible.legacy.command: docker-compose run --rm web bin/tootctl cache clear
args:
ansible.legacy.command:
cmd: docker-compose run --rm web bin/tootctl cache clear
chdir: "{{ docker_mastodon_install_location }}"
register: clear_cache
changed_when: clear_cache.rc == 0
environment:
PYTHONPATH: ""
- name: Run post compose database migrations
ansible.legacy.command: docker-compose run --rm web rails db:migrate
args:
chdir: "{{ docker_mastodon_install_location }}"
ansible.legacy.command:
cmd: docker-compose run --rm web rails db:migrate
creates: "{{ docker_mastodon_install_location }}"
register: post_database_migrations
changed_when: post_database_migrations.rc == 0
environment:
......
......@@ -132,8 +132,8 @@
become: true
- name: Generate synapse config
ansible.legacy.command: python2 -m compose run -e "SYNAPSE_SERVER_NAME={{ docker_matrix_synapse_servername }}" synapse generate
args:
ansible.legacy.command:
cmd: python2 -m compose run -e \"SYNAPSE_SERVER_NAME={{ docker_matrix_synapse_servername }}\" synapse generate
chdir: "{{ docker_matrix_install_location }}"
creates: "{{ docker_matrix_data_location }}/homeserver.yaml"
tags:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment