reordered block statements

This commit is contained in:
rene
2022-03-18 17:11:38 +01:00
parent 1fafdad7a3
commit 0e43a09c96
2 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,4 @@
- block:
become: true
become_user: "{{ mastodon_user }}"
- name: Clone mastodon
git:
repo: "https://github.com/mastodon/mastodon.git"
@@ -49,6 +46,9 @@
chdir: "{{ mastodon_home }}/{{ mastodon_path }}"
when: production_config.stat.exists
become: true
become_user: "{{ mastodon_user }}"
- name: Install systemd sidekiq Service Files
template:
src: mastodon-sidekiq.service.j2

View File

@@ -1,8 +1,5 @@
---
- block:
become: true
become_user: "{{ mastodon_user }}"
- name: mastodon | Clone rbenv
git:
repo: "https://github.com/rbenv/rbenv.git"
@@ -59,4 +56,7 @@
shell: 'export PATH="$HOME/.rbenv/bin:$PATH"; eval "$(rbenv init -)"; gem install bundler:{{ bundler_version }}'
args:
executable: /bin/bash
when: default_ruby_version is succeeded
when: default_ruby_version is succeeded
become: true
become_user: "{{ mastodon_user }}"