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:
parent
1aa9747a4e
commit
a818303f05
@ -48,6 +48,7 @@
|
|||||||
|
|
||||||
- name: Validate the deployment
|
- name: Validate the deployment
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: tempest.yml
|
- include_tasks: tempest.yml
|
||||||
vars:
|
vars:
|
||||||
|
Loading…
Reference in New Issue
Block a user