Browse Source

Create znc config directory

Luke Cyca 11 years ago
parent
commit
2c083c44e6
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      roles/ircbouncer/tasks/znc.yml

+ 3
- 0
roles/ircbouncer/tasks/znc.yml View File

47
   ignore_errors: True
47
   ignore_errors: True
48
   changed_when: False  # never report as "changed"
48
   changed_when: False  # never report as "changed"
49
 
49
 
50
+- name: Create znc config directory
51
+  file: state=directory path=/var/lib/znc/configs group=znc owner=znc
52
+
50
 - name: Copy znc configuration file into place
53
 - name: Copy znc configuration file into place
51
   template: src=var_lib_znc_configs_znc.conf.j2 dest=/var/lib/znc/configs/znc.conf owner=znc group=znc
54
   template: src=var_lib_znc_configs_znc.conf.j2 dest=/var/lib/znc/configs/znc.conf owner=znc group=znc
52
   when: znc_config.rc != 0
55
   when: znc_config.rc != 0

Loading…
Cancel
Save