- name: Load status json
command: rpm-ostree status --json
changed_when: False
register: rpmostree_status_json
- set_fact:
rpmostree_status: "{{ rpmostree_status_json.stdout | from_json }}"