Closed simonspa closed 4 years ago
Once https://github.com/nextcloud/server/issues/8092 is resolved we can resort to simpler JSON out parsing using a filter:
become_user: "{{ nextcloud_file_owner }}" - register: nextcloud_installed_apps + register: _result changed_when: false - name: Remove non-json text from command output set_fact: - nextcloud_installed_apps: >- - {{ - nextcloud_installed_apps.stdout[ - (nextcloud_installed_apps.stdout.find('{')): - ] - }} + nextcloud_installed_apps: "{{ _result.stdout | from_json }}"
This does not seem to be an issue anymore right?
Once https://github.com/nextcloud/server/issues/8092 is resolved we can resort to simpler JSON out parsing using a filter: