diff --git a/roles/mastodon/tasks/system_setup/mastodon.yml b/roles/mastodon/tasks/system_setup/mastodon.yml index e0ff4d6..ef867d9 100644 --- a/roles/mastodon/tasks/system_setup/mastodon.yml +++ b/roles/mastodon/tasks/system_setup/mastodon.yml @@ -5,10 +5,10 @@ dest: "{{ mastodon_home }}/{{mastodon_path}}" clone: true - # - name: Update to latest version - # shell: "git fetch; git checkout $(git tag -l | grep -v 'rc[1-9]*$' | sort -V | tail -n 1)" - # args: - # chdir: "{{ mastodon_home }}/{{ mastodon_path }}" + - name: Update to latest version + shell: "git fetch; git checkout $(git tag -l | grep -v 'rc[1-9]*$' | sort -V | tail -n 1)" + args: + chdir: "{{ mastodon_home }}/{{ mastodon_path }}" - name: Bundle install shell: | diff --git a/roles/mastodon/vars/main.yml b/roles/mastodon/vars/main.yml index e3c141e..e3f285d 100644 --- a/roles/mastodon/vars/main.yml +++ b/roles/mastodon/vars/main.yml @@ -5,7 +5,7 @@ postgres: True mysql: False redis: True -ruby_version: "3.0.3" +ruby_version: "2.7.2" rbenv_version: "v1.2.0" ruby_build_version: "v20220218" bundler_version: "2.1.4"