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

@@ -9,7 +9,7 @@
- name: Install redis
ansible.builtin.include_tasks: redis.yml
- name: Mastodon user
- name: Create mastodon user
ansible.builtin.user:
name: mastodon
comment: "John Mastodon"
@@ -17,7 +17,7 @@
shell: /bin/bash
home: "{{ mastodon_home }}"
- name: Mastodon .ssh dir
- name: Create mastodon .ssh dir
ansible.builtin.file:
state: directory
path: "{{ mastodon_home }}/.ssh"
@@ -25,7 +25,7 @@
owner: mastodon
group: mastodon
- name: Ssh for mastodon user
- name: Set ssh for mastodon user
ansible.builtin.copy:
remote_src: true
src: /root/.ssh/authorized_keys