Fix fact tags

Ansible playbook fails when tags are limited to "facts,etcd" or to
"facts". This patch allows to run ansible-playbook to gather facts only
that don't require calico/flannel/weave components to be verified. This
allows to run ansible with 'facts,bootstrap-os' or just 'facts' to
gether facts that don't require specific components.

Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
This commit is contained in:
Sergii Golovatiuk
2017-02-17 11:15:07 +01:00
parent 9ed32b9dd0
commit e91e58aec9
4 changed files with 0 additions and 9 deletions

View File

@@ -68,7 +68,6 @@
with_items: "{{ manifests.results }}"
when: inventory_hostname == groups['kube-master'][0] and item.item.type == "ds" and (manifests.changed or dnsmasq_config.changed)
- name: Start Resources
kube:
name: dnsmasq
@@ -86,4 +85,3 @@
port: 53
delay: 5
when: inventory_hostname == groups['kube-node'][0]
tags: facts