|
|
|
|
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
|