♻: move wordpress specifics for nginx to nginx role
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m33s
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m33s
This commit is contained in:
@@ -2,5 +2,3 @@
|
||||
|
||||
- name: Init DB
|
||||
ansible.builtin.include_tasks: db.yml
|
||||
- name: WP for NintendojoFR
|
||||
ansible.builtin.include_tasks: wp_dojo.yml
|
||||
|
@@ -1,16 +0,0 @@
|
||||
---
|
||||
|
||||
- name: Put nginx cache configuration file
|
||||
ansible.builtin.copy:
|
||||
src: files/fastcgi_cache.conf
|
||||
dest: /etc/nginx/conf.d/fastcgi_cache.conf
|
||||
mode: "0o644"
|
||||
notify:
|
||||
- Restart nginx
|
||||
|
||||
- name: Cron for wordpress
|
||||
ansible.builtin.cron:
|
||||
name: "WP Twitter refresh"
|
||||
user: www-data
|
||||
minute: "*/2"
|
||||
job: "/usr/bin/wget -q -O - https://www.nintendojo.fr/wp-cron.php &> /dev/null"
|
Reference in New Issue
Block a user