style: linting
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
---
|
||||
|
||||
- name: restart nginx
|
||||
service:
|
||||
name: nginx
|
||||
state: restarted
|
||||
name: nginx
|
||||
state: restarted
|
||||
|
||||
- name: restart php-fpm
|
||||
service:
|
||||
name: "php{{ php_version }}-fpm"
|
||||
state: restarted
|
||||
name: "php{{ php_version }}-fpm"
|
||||
state: restarted
|
||||
|
@@ -1,3 +1,5 @@
|
||||
---
|
||||
|
||||
- name: include ttrss for web1
|
||||
include_tasks: ttrss.yml
|
||||
when: inventory_hostname == 'web1.dmz.mateu.be'
|
||||
|
@@ -1,6 +1,8 @@
|
||||
---
|
||||
|
||||
- name: crontab for matomo
|
||||
cron:
|
||||
name: Matomo reports
|
||||
user: www-data
|
||||
minute: "5"
|
||||
job: "/usr/bin/php /srv/http/analyse.nintendojo.fr/console core:archive > /dev/null"
|
||||
name: Matomo reports
|
||||
user: www-data
|
||||
minute: "5"
|
||||
job: "/usr/bin/php /srv/http/analyse.nintendojo.fr/console core:archive > /dev/null"
|
||||
|
@@ -1,6 +1,8 @@
|
||||
---
|
||||
|
||||
- name: php-fpm nextcloud specific configuration
|
||||
copy:
|
||||
src: files/oc.conf
|
||||
dest: "/etc/php/{{ php_version }}/fpm/pool.d/oc.conf"
|
||||
src: files/oc.conf
|
||||
dest: "/etc/php/{{ php_version }}/fpm/pool.d/oc.conf"
|
||||
notify:
|
||||
- restart php-fpm
|
||||
- restart php-fpm
|
||||
|
@@ -1,10 +1,12 @@
|
||||
---
|
||||
|
||||
- name: install scootaloo
|
||||
copy:
|
||||
src: files/bin/scootaloo
|
||||
dest: "{{ scootaloo_bin_path }}"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: 0750
|
||||
src: files/bin/scootaloo
|
||||
dest: "{{ scootaloo_bin_path }}"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: 0750
|
||||
|
||||
- name: put configuration file
|
||||
template:
|
||||
@@ -31,8 +33,7 @@
|
||||
|
||||
- name: cron for scootaloo
|
||||
cron:
|
||||
name: Scootaloo Dojo
|
||||
user: www-data
|
||||
minute: "*/5"
|
||||
job: "{{ scootaloo_bin_path }} > /dev/null"
|
||||
|
||||
name: Scootaloo Dojo
|
||||
user: www-data
|
||||
minute: "*/5"
|
||||
job: "{{ scootaloo_bin_path }} > /dev/null"
|
||||
|
@@ -1,7 +1,9 @@
|
||||
---
|
||||
|
||||
- name: cron for tootctl
|
||||
cron:
|
||||
name: Mastodon tootctl
|
||||
minute: "0"
|
||||
hour: "19"
|
||||
weekday: "5"
|
||||
job: "COMPOSE_HTTP_TIMEOUT=360 docker-compose -f /srv/docker/m.nintendojo.fr/docker-compose.yml run --rm web bin/tootctl media remove"
|
||||
name: Mastodon tootctl
|
||||
minute: "0"
|
||||
hour: "19"
|
||||
weekday: "5"
|
||||
job: "COMPOSE_HTTP_TIMEOUT=360 docker-compose -f /srv/docker/m.nintendojo.fr/docker-compose.yml run --rm web bin/tootctl media remove"
|
||||
|
@@ -1,16 +1,17 @@
|
||||
---
|
||||
|
||||
- name: systemd file for backend
|
||||
copy:
|
||||
src: files/ttrss_backend.service
|
||||
dest: /etc/systemd/system/ttrss_backend.service
|
||||
src: files/ttrss_backend.service
|
||||
dest: /etc/systemd/system/ttrss_backend.service
|
||||
|
||||
- name: enable and start service ttrss_backend
|
||||
service:
|
||||
name: ttrss_backend
|
||||
enabled: true
|
||||
state: started
|
||||
name: ttrss_backend
|
||||
enabled: true
|
||||
state: started
|
||||
|
||||
- name: install git
|
||||
package:
|
||||
name: git
|
||||
state: present
|
||||
|
||||
name: git
|
||||
state: present
|
||||
|
@@ -1,13 +1,15 @@
|
||||
---
|
||||
|
||||
- name: nginx cache
|
||||
copy:
|
||||
src: files/fastcgi_cache.conf
|
||||
dest: /etc/nginx/conf.d/fastcgi_cache.conf
|
||||
src: files/fastcgi_cache.conf
|
||||
dest: /etc/nginx/conf.d/fastcgi_cache.conf
|
||||
notify:
|
||||
- restart nginx
|
||||
- restart nginx
|
||||
|
||||
- name: wordpress cron
|
||||
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"
|
||||
name: "WP Twitter refresh"
|
||||
user: www-data
|
||||
minute: "*/2"
|
||||
job: "/usr/bin/wget -q -O - https://www.nintendojo.fr/wp-cron.php &> /dev/null"
|
||||
|
@@ -1,30 +1,32 @@
|
||||
---
|
||||
|
||||
- name: install z-push repokey
|
||||
apt_key:
|
||||
url: https://download.kopano.io/zhub/z-push%3A/final/Debian_10/Release.key
|
||||
state: present
|
||||
url: https://download.kopano.io/zhub/z-push%3A/final/Debian_10/Release.key
|
||||
state: present
|
||||
|
||||
- name: install z-push repo
|
||||
apt_repository:
|
||||
repo: deb https://download.kopano.io/zhub/z-push:/final/Debian_10/ /
|
||||
state: present
|
||||
repo: deb https://download.kopano.io/zhub/z-push:/final/Debian_10/ /
|
||||
state: present
|
||||
|
||||
- name: install z-push packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- z-push-autodiscover
|
||||
- z-push-backend-caldav
|
||||
- z-push-backend-carddav
|
||||
- z-push-backend-combined
|
||||
- z-push-backend-imap
|
||||
- z-push-common
|
||||
- z-push-ipc-sharedmemory
|
||||
- z-push-state-sql
|
||||
- z-push-autodiscover
|
||||
- z-push-backend-caldav
|
||||
- z-push-backend-carddav
|
||||
- z-push-backend-combined
|
||||
- z-push-backend-imap
|
||||
- z-push-common
|
||||
- z-push-ipc-sharedmemory
|
||||
- z-push-state-sql
|
||||
|
||||
- name: log directory
|
||||
file:
|
||||
path: /var/log/z-push/
|
||||
owner: www-data
|
||||
group: www-data
|
||||
state: directory
|
||||
path: /var/log/z-push/
|
||||
owner: www-data
|
||||
group: www-data
|
||||
state: directory
|
||||
|
Reference in New Issue
Block a user