Browse Source

Fix set_facts visibility

Move set_facts to the preinstall scope, so every role
may see it. For example, network plugins to see the etcd_endpoint.

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
pull/367/head
Bogdan Dobrelya 8 years ago
parent
commit
a76e5dbb11
3 changed files with 2 additions and 1 deletions
  1. 1
      roles/etcd/tasks/main.yml
  2. 2
      roles/kubernetes/preinstall/tasks/main.yml
  3. 0
      roles/kubernetes/preinstall/tasks/set_facts.yml

1
roles/etcd/tasks/main.yml

@ -1,5 +1,4 @@
--- ---
- include: set_facts.yml
- include: install.yml - include: install.yml
- include: set_cluster_health.yml - include: set_cluster_health.yml
- include: configure.yml - include: configure.yml

2
roles/kubernetes/preinstall/tasks/main.yml

@ -2,6 +2,8 @@
- include: gitinfos.yml - include: gitinfos.yml
when: run_gitinfos when: run_gitinfos
- include: set_facts.yml
- name: gather os specific variables - name: gather os specific variables
include_vars: "{{ item }}" include_vars: "{{ item }}"
with_first_found: with_first_found:

roles/etcd/tasks/set_facts.yml → roles/kubernetes/preinstall/tasks/set_facts.yml

Loading…
Cancel
Save