2016-05-27 09:55:52 +00:00
|
|
|
---
|
2017-02-24 21:41:27 +00: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 11:37:48 +00:00
|
|
|
- import_tasks: set_resolv_facts.yml
|
2017-10-05 07:43:04 +00:00
|
|
|
tags:
|
|
|
|
- resolvconf
|
|
|
|
- facts
|