1 2 3 4 5 6 7 8 9 10 11
--- - name: lib_openshift detect ostree stat: path: /run/ostree-booted register: ostree_booted - name: lib_openshift ensure python-ruamel-yaml package is on target package: name: python-ruamel-yaml state: present when: not ostree_booted.stat.exists