fix(mastodon): Version detection grep expression
This commit is contained in:
parent
72c15a4fd3
commit
0e9ad9b9c0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue