ostree/tests/installed/tasks/query-host.yml

7 lines
200 B
YAML

- 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 }}"