--- - command: 'php occ {{ occ_args }}' become: true become_user: 'www-data' args: chdir: '/opt/nextcloud' register: occ_out_raw changed_when: occ_out_raw.changed and (not ignore_changes|default(false)) - set_fact: occ_out: '{{ occ_out_raw.stdout | from_json }}' when: nojson is not defined ...