Remove the unnecessary gather facts

By default, the ansible task will gather facts, it can be configured by
set "father_facts: true", it's unncessary to run setup in tasks, it will
waste much time when hosts is large.

Change-Id: I9462a538c76b6271a34531d8752b72cc695f693e
Closes-Bug: #1743485
This commit is contained in:
caoyuan 2018-01-16 10:25:30 +08:00
parent 95cd334707
commit c38ab37766

View File

@ -7,8 +7,6 @@
kolla_ansible_full_src_dir: "{{ zuul.executor.work_root }}/{{ kolla_ansible_src_dir }}"
need_build_image: false
tasks:
- setup:
- name: ensure /etc/kolla exists
file:
path: "/etc/kolla"