fix(mastodon): Version detection grep expression

This commit is contained in:
saibotk 2024-02-22 03:58:24 +01:00
parent 72c15a4fd3
commit 0e9ad9b9c0
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -96,7 +96,7 @@
become: true
- name: Check if migration is needed
ansible.builtin.command: "grep -q 'tootsuite/mastodon:{{ mastodon_image_version }}' '{{ mastodon_install_location }}/docker-compose.yml'"
ansible.builtin.command: "grep -q 'mastodon/mastodon:{{ mastodon_image_version }}' '{{ mastodon_install_location }}/docker-compose.yml'"
register: mastodon_version_fact
ignore_errors: true
changed_when: mastodon_version_fact.rc > 0