Merge pull request #1071 from vijaykatam/atomic_host

Add support for atomic host
This commit is contained in:
Bogdan Dobrelya
2017-03-03 13:03:59 +01:00
committed by GitHub
15 changed files with 107 additions and 15 deletions

View File

@@ -83,5 +83,17 @@
- set_fact:
peer_with_calico_rr: "{{ 'calico-rr' in groups and groups['calico-rr']|length > 0 }}"
- 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
- include: set_resolv_facts.yml
tags: [bootstrap-os, resolvconf, facts]