Browse Source

fix fathom monit wrong task name and missing ignore_errors for first run. fix typo.

Thomas Buck 5 years ago
parent
commit
eb39986288

+ 1
- 3
roles/blog/tasks/fathom.yml View File

16
 
16
 
17
 - name: Stop old fathom instance
17
 - name: Stop old fathom instance
18
   service: name=fathom-stats state=stopped
18
   service: name=fathom-stats state=stopped
19
+  ignore_errors: True
19
 
20
 
20
 - name: Copy fathom binary to /usr/local/bin
21
 - name: Copy fathom binary to /usr/local/bin
21
   shell: cp fathom/fathom /usr/local/bin/fathom chdir=/root
22
   shell: cp fathom/fathom /usr/local/bin/fathom chdir=/root
22
 
23
 
23
-- name: Remove downloaded temporary fathom files
24
-  file: state=absent path=/root/fathom
25
-
26
 - name: Create fathom working directory
24
 - name: Create fathom working directory
27
   file: state=directory path=/home/{{ main_user_name }}/fathom-stats
25
   file: state=directory path=/home/{{ main_user_name }}/fathom-stats
28
 
26
 

+ 2
- 2
roles/monitoring/files/etc_monit_conf.d_fathom View File

1
 check process fathom matching fathom
1
 check process fathom matching fathom
2
   group www
2
   group www
3
-  start program = "/bin/systemctl start fathom"
4
-  stop program = "/bin/systemctl stop fathom"
3
+  start program = "/bin/systemctl start fathom-stats"
4
+  stop program = "/bin/systemctl stop fathom-stats"
5
   if failed port 9000 protocol http
5
   if failed port 9000 protocol http
6
     with timeout 10 seconds
6
     with timeout 10 seconds
7
     then restart
7
     then restart

+ 1
- 1
roles/nextcloud/tasks/nextcloud.yml View File

23
     - php-curl
23
     - php-curl
24
     - php-intl
24
     - php-intl
25
     - curl
25
     - curl
26
-    - unzip  
26
+    - unzip
27
   tags:
27
   tags:
28
     - dependencies
28
     - dependencies
29
 
29
 

Loading…
Cancel
Save