refactor: standardize tasks’ name
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Crontab for matomo
|
||||
- name: Cron for matomo
|
||||
ansible.builtin.cron:
|
||||
name: Matomo reports
|
||||
user: www-data
|
||||
|
@@ -8,7 +8,7 @@
|
||||
group: www-data
|
||||
mode: 0750
|
||||
|
||||
- name: Create scootaloo config dir
|
||||
- name: Create scootaloo configuration dir
|
||||
ansible.builtin.file:
|
||||
path: "{{ scootaloo_db_path }}"
|
||||
state: directory
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Put configuration file
|
||||
- name: Put scootaloo configuration file
|
||||
ansible.builtin.template:
|
||||
src: scootaloo.toml.j2
|
||||
dest: /usr/local/etc/scootaloo.toml
|
||||
|
@@ -1,6 +1,11 @@
|
||||
---
|
||||
|
||||
- name: Systemd file for backend
|
||||
- name: Install git
|
||||
ansible.builtin.package:
|
||||
name: git
|
||||
state: present
|
||||
|
||||
- name: Put systemd file for backend
|
||||
ansible.builtin.copy:
|
||||
src: files/ttrss_backend.service
|
||||
dest: /etc/systemd/system/ttrss_backend.service
|
||||
@@ -11,8 +16,3 @@
|
||||
name: ttrss_backend
|
||||
enabled: true
|
||||
state: started
|
||||
|
||||
- name: Install git
|
||||
ansible.builtin.package:
|
||||
name: git
|
||||
state: present
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Nginx cache
|
||||
- name: Put nginx cache configuration file
|
||||
ansible.builtin.copy:
|
||||
src: files/fastcgi_cache.conf
|
||||
dest: /etc/nginx/conf.d/fastcgi_cache.conf
|
||||
@@ -8,7 +8,7 @@
|
||||
notify:
|
||||
- Restart nginx
|
||||
|
||||
- name: Wordpress cron
|
||||
- name: Cron for wordpress
|
||||
ansible.builtin.cron:
|
||||
name: "WP Twitter refresh"
|
||||
user: www-data
|
||||
|
Reference in New Issue
Block a user