Переглянути джерело

Merge pull request #542 from johngian/fix-znc-persistency

Add directories to allow persistent znc user/modules configuration.
Sven Neuhaus 8 роки тому
джерело
коміт
106cd1b2c7
1 змінених файлів з 7 додано та 0 видалено
  1. 7
    0
      roles/ircbouncer/tasks/znc.yml

+ 7
- 0
roles/ircbouncer/tasks/znc.yml Переглянути файл

@@ -14,6 +14,13 @@
14 14
 - name: Ensure pid directory exists
15 15
   file: state=directory path=/var/run/znc group=znc owner=znc
16 16
 
17
+- name: Ensure configuration folders exist
18
+  file: state=directory path=/usr/lib/znc/{{ item }} group=znc owner=znc
19
+  with_items:
20
+    - moddata
21
+    - modules
22
+    - users
23
+
17 24
 - name: Copy znc service file into place
18 25
   copy: src=etc_systemd_system_znc.service dest=/etc/systemd/system/znc.service mode=0644
19 26
 

Завантаження…
Відмінити
Зберегти