diff --git a/ansible/README.rst b/ansible/README.rst index f2f2a7f8c..7973d391f 100644 --- a/ansible/README.rst +++ b/ansible/README.rst @@ -212,8 +212,7 @@ Run the gather playbook to gather metadata about how the OpenStack cloud is currently configured. This playbook writes hardware(No. of CPUs etc), software(OpenStack Configuration), environment(No. of controllers etc) metadata files into the metadata directory which are transported to ElasticSearch along -with test results to provide context for the result data. Make sure you do not -run this playbook from a python virtual environment or it would fail. +with test results to provide context for the result data. :: diff --git a/ansible/gather/site.yml b/ansible/gather/site.yml index f4eed149f..912ad9cd4 100644 --- a/ansible/gather/site.yml +++ b/ansible/gather/site.yml @@ -28,6 +28,6 @@ - hosts: undercloud tasks: - name: Dump all vars - local_action: template src=dump_facts.j2 dest={{ browbeat_path }}/metadata/machine_facts.json + template: src=dump_facts.j2 dest={{ browbeat_path }}/metadata/machine_facts.json - name: Generate metadata jsons shell : python {{ browbeat_path }}/lib/Metadata.py {{ browbeat_path }}/metadata