Skip to content

Commit

Permalink
Define ostree variable for runc
Browse files Browse the repository at this point in the history
The ostree variable is not defined previously raising an error when
the runtime tries to read it.
  • Loading branch information
electrocucaracha committed Sep 23, 2022
1 parent 1b3c2da commit b528772
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/container-engine/runc/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
---
- name: runc | check if fedora coreos
stat:
path: /run/ostree-booted
get_attributes: no
get_checksum: no
get_mime: no
register: ostree

- name: runc | set is_ostree
set_fact:
is_ostree: "{{ ostree.stat.exists }}"
Expand Down

0 comments on commit b528772

Please sign in to comment.