refactor: standardize tasks’ name
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user