Pārlūkot izejas kodu

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

Thomas Buck 5 gadus atpakaļ
vecāks
revīzija
eb39986288

+ 1
- 3
roles/blog/tasks/fathom.yml Parādīt failu

@@ -16,13 +16,11 @@
16 16
 
17 17
 - name: Stop old fathom instance
18 18
   service: name=fathom-stats state=stopped
19
+  ignore_errors: True
19 20
 
20 21
 - name: Copy fathom binary to /usr/local/bin
21 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 24
 - name: Create fathom working directory
27 25
   file: state=directory path=/home/{{ main_user_name }}/fathom-stats
28 26
 

+ 2
- 2
roles/monitoring/files/etc_monit_conf.d_fathom Parādīt failu

@@ -1,7 +1,7 @@
1 1
 check process fathom matching fathom
2 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 5
   if failed port 9000 protocol http
6 6
     with timeout 10 seconds
7 7
     then restart

+ 1
- 1
roles/nextcloud/tasks/nextcloud.yml Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt