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
|
|
|
|
|
2018-01-29 19:37:48 +08:00
|
|
|
- import_tasks: set_resolv_facts.yml
|
2017-10-05 15:43:04 +08:00
|
|
|
tags:
|
|
|
|
- bootstrap-os
|
|
|
|
- resolvconf
|
|
|
|
- facts
|