2016-05-27 17:55:52 +08:00
|
|
|
---
|
2017-02-25 05:41:27 +08:00
|
|
|
- name: check if atomic host
|
|
|
|
stat:
|
|
|
|
path: /run/ostree-booted
|
|
|
|
register: ostree
|
|
|
|
|
|
|
|
- set_fact:
|
|
|
|
is_atomic: "{{ ostree.stat.exists }}"
|
|
|
|
|
|
|
|
- set_fact:
|
|
|
|
kube_cert_group: "kube"
|
|
|
|
when: is_atomic
|
|
|
|
|
2017-02-06 20:58:54 +08:00
|
|
|
- include: set_resolv_facts.yml
|
2017-10-05 15:43:04 +08:00
|
|
|
tags:
|
|
|
|
- bootstrap-os
|
|
|
|
- resolvconf
|
|
|
|
- facts
|