c12s-kubespray/roles/kubernetes/preinstall/tasks/set_facts.yml
Matthew Mosesohn dc6a17e092
Use include/import tasks (#2192)
import_tasks will consume far less memory, so it should be
used whenever it is compatible.
2018-01-29 14:37:48 +03:00

18 lines
297 B
YAML

---
- 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
- import_tasks: set_resolv_facts.yml
tags:
- bootstrap-os
- resolvconf
- facts