reordered block statements
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 }}"
|
||||
Reference in New Issue
Block a user