2016-09-06 22:04:41 +08:00
|
|
|
---
|
2016-09-08 02:19:46 +08:00
|
|
|
- include: bootstrap-ubuntu.yml
|
|
|
|
when: bootstrap_os == "ubuntu"
|
|
|
|
|
2016-09-06 22:04:41 +08:00
|
|
|
- include: bootstrap-coreos.yml
|
2016-12-09 17:38:45 +08:00
|
|
|
when: bootstrap_os == "coreos"
|
|
|
|
|
2016-12-08 00:16:06 +08:00
|
|
|
- include: bootstrap-centos.yml
|
|
|
|
when: bootstrap_os == "centos"
|
|
|
|
|
2017-02-25 05:41:27 +08:00
|
|
|
- include: setup-pipelining.yml
|
|
|
|
|
|
|
|
- name: check if atomic host
|
|
|
|
stat:
|
|
|
|
path: /run/ostree-booted
|
|
|
|
register: ostree
|
|
|
|
|
|
|
|
- set_fact:
|
|
|
|
is_atomic: "{{ ostree.stat.exists }}"
|