refactor: standardize tasks’ name

This commit is contained in:
VC
2024-07-05 11:53:35 +02:00
parent 788dfae081
commit 85f0f91887
36 changed files with 114 additions and 138 deletions

View File

@@ -1,13 +1,13 @@
---
- name: Git mastodon
- name: Get mastodon git
remote_user: mastodon
ansible.builtin.git:
repo: "https://github.com/mastodon/mastodon.git"
dest: "{{ mastodon_home }}/live"
version: "v{{ mastodon_version }}"
- name: Bundle config command
- name: Exec bundle
remote_user: mastodon
ansible.builtin.command:
cmd: |
@@ -15,7 +15,7 @@
creates: "{{ mastodon_home }}/.bundle/config"
chdir: "{{ mastodon_home }}/live"
- name: Bundle install
- name: Install bundle
remote_user: mastodon
ansible.builtin.command:
cmd: |
@@ -23,7 +23,7 @@
chdir: "{{ mastodon_home }}/live"
changed_when: true
- name: Yarn install
- name: Install yarn
remote_user: mastodon
ansible.builtin.command:
cmd: |
@@ -38,7 +38,7 @@
state: directory
mode: '0750'
- name: Template scripts
- name: Put template scripts
remote_user: mastodon
ansible.builtin.template:
src: "{{ item }}.j2"