|
|
@ -4,6 +4,16 @@ |
|
|
|
template: src=localconfig.js.j2 dest={{ pki_root_dir }}/web/htdocs/localconfig.js |
|
|
|
template: src=localconfig.js.j2 dest={{ pki_root_dir }}/web/htdocs/localconfig.js |
|
|
|
tags: pki |
|
|
|
tags: pki |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check if notification is a link or a dir |
|
|
|
|
|
|
|
stat: path={{ pki_root_dir }}/etc/notification |
|
|
|
|
|
|
|
register: pki_notif_config |
|
|
|
|
|
|
|
tags: pki |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Remove notification dir from the config |
|
|
|
|
|
|
|
file: path={{ pki_root_dir }}/etc/notification state=absent |
|
|
|
|
|
|
|
when: pki_notif_config.stat.isdir |
|
|
|
|
|
|
|
tags: pki |
|
|
|
|
|
|
|
|
|
|
|
- name: Copy default configuration |
|
|
|
- name: Copy default configuration |
|
|
|
synchronize: |
|
|
|
synchronize: |
|
|
|
src: "{{ pki_root_dir }}/src/openxpki-config-{{ pki_config_version }}/" |
|
|
|
src: "{{ pki_root_dir }}/src/openxpki-config-{{ pki_config_version }}/" |
|
|
|