reordered block statements
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
- block:
|
- block:
|
||||||
become: true
|
|
||||||
become_user: "{{ mastodon_user }}"
|
|
||||||
|
|
||||||
- name: Clone mastodon
|
- name: Clone mastodon
|
||||||
git:
|
git:
|
||||||
repo: "https://github.com/mastodon/mastodon.git"
|
repo: "https://github.com/mastodon/mastodon.git"
|
||||||
@@ -49,6 +46,9 @@
|
|||||||
chdir: "{{ mastodon_home }}/{{ mastodon_path }}"
|
chdir: "{{ mastodon_home }}/{{ mastodon_path }}"
|
||||||
when: production_config.stat.exists
|
when: production_config.stat.exists
|
||||||
|
|
||||||
|
become: true
|
||||||
|
become_user: "{{ mastodon_user }}"
|
||||||
|
|
||||||
- name: Install systemd sidekiq Service Files
|
- name: Install systemd sidekiq Service Files
|
||||||
template:
|
template:
|
||||||
src: mastodon-sidekiq.service.j2
|
src: mastodon-sidekiq.service.j2
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
---
|
---
|
||||||
- block:
|
- block:
|
||||||
become: true
|
|
||||||
become_user: "{{ mastodon_user }}"
|
|
||||||
|
|
||||||
- name: mastodon | Clone rbenv
|
- name: mastodon | Clone rbenv
|
||||||
git:
|
git:
|
||||||
repo: "https://github.com/rbenv/rbenv.git"
|
repo: "https://github.com/rbenv/rbenv.git"
|
||||||
@@ -60,3 +57,6 @@
|
|||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
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