reordered block statements

This commit is contained in:
rene committed 2022-03-18 17:11:38 +01:00
1 parent 1fafdad7a3
commit 0e43a09c96
2 files changed
+6 -6

No files matched your search

@@ -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
+3 -3
View File
@@ -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 }}"