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,6 +1,6 @@
---
- name: Crontab for matomo
- name: Cron for matomo
ansible.builtin.cron:
name: Matomo reports
user: www-data

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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