Set gather_facts to false while calling tempest playbook

By default gather_facts is always true and tempest playbook
runs tempest as a root user for creating some directories and
once the tempest run finish, The ansible user dir is changed
to /root and any other playbook called with gather_facts
to false have same /root directory leading to failure in
other playbooks where ansible user dir is used.

Setting gather_facts to false fixes the issue

Change-Id: Ia696afa16a995dfc7c91373f6d162425fe39c7a9
Signed-off-by: Chandan Kumar <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar 2019-04-18 15:09:47 +05:30 committed by Chandan Kumar (raukadah)
parent 1aa9747a4e
commit a818303f05

View File

@ -48,6 +48,7 @@
- name: Validate the deployment
hosts: undercloud
gather_facts: false
tasks:
- include_tasks: tempest.yml
vars: