Unverified Commit 0908dd81 authored by Marc Crebassa's avatar Marc Crebassa Committed by GitHub
Browse files

Merge pull request #102 from krichtof/fix-nc-apps

fix empty test for nc apps
parents 798606cb 352df915
......@@ -91,7 +91,7 @@
# do if the app is not enabled and ( (archive path is not "") or (app is disabled) )
when:
- item.key not in nc_available_apps.enabled
- (item.value is not empty) or (item.key in nc_available_apps.disabled)
- (item.value is not none) or (item.key in nc_available_apps.disabled)
with_dict: "{{ nextcloud_apps }}"
when:
- nextcloud_apps is defined
......
......@@ -13,7 +13,7 @@
owner: "{{ nextcloud_websrv_user }}"
group: "{{ nextcloud_websrv_group }}"
creates: "{{ nextcloud_webroot }}/apps/{{ nc_app_name }}"
when: nc_app_cfg is not empty
when: nc_app_cfg is not none
- name: "[ App {{ nc_app_name }} ] - enable the application."
become_user: "{{ nextcloud_websrv_user }}"
......@@ -39,7 +39,7 @@
owner: "{{ nextcloud_websrv_user }}"
group: "{{ nextcloud_websrv_group }}"
creates: "{{ nextcloud_webroot }}/apps/{{ nc_app_name }}"
when: nc_app_cfg.source is not empty
when: nc_app_cfg.source is not none
- name: "[ App {{ nc_app_name }} ] - enable the application."
become_user: "{{ nextcloud_websrv_user }}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment