mirror of https://github.com/ceph/ceph-ansible.git
16 lines
313 B
YAML
16 lines
313 B
YAML
---
|
|
- include: system_checks.yml
|
|
|
|
|
|
- name: check if it is atomic host
|
|
stat: path=/run/ostree-booted
|
|
register: stat_ostree
|
|
always_run: true
|
|
|
|
- name: set fact for using atomic host
|
|
set_fact:
|
|
is_atomic: '{{ stat_ostree.stat.exists }}'
|
|
|
|
- include: ./pre_requisites/prerequisites.yml
|
|
when: not is_atomic
|