summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lib_openshift/tasks')
-rw-r--r--roles/lib_openshift/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/lib_openshift/tasks/main.yml b/roles/lib_openshift/tasks/main.yml
index 2980c8a8d..77366c65e 100644
--- a/roles/lib_openshift/tasks/main.yml
+++ b/roles/lib_openshift/tasks/main.yml
@@ -1,5 +1,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