This is an automated email from the ASF dual-hosted git repository. nickallen pushed a commit to branch feature/METRON-2088-support-hdp-3.1 in repository https://gitbox.apache.org/repos/asf/metron.git
The following commit(s) were added to refs/heads/feature/METRON-2088-support-hdp-3.1 by this push: new 1430d62 METRON-2161 Ambari client exception occurred: No JSON object could be decoded (nickwallen) closes apache/metron#1447 1430d62 is described below commit 1430d628ef2671983fd656b0b9fd1454adcf82e2 Author: nickwallen <n...@nickallen.org> AuthorDate: Fri Jun 28 10:00:53 2019 -0400 METRON-2161 Ambari client exception occurred: No JSON object could be decoded (nickwallen) closes apache/metron#1447 --- .../roles/ambari_config/tasks/dependencies-CentOS-7.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/metron-deployment/ansible/roles/ambari_config/tasks/dependencies-CentOS-7.yml b/metron-deployment/ansible/roles/ambari_config/tasks/dependencies-CentOS-7.yml index 72a96d4..e5105a5 100644 --- a/metron-deployment/ansible/roles/ambari_config/tasks/dependencies-CentOS-7.yml +++ b/metron-deployment/ansible/roles/ambari_config/tasks/dependencies-CentOS-7.yml @@ -15,12 +15,9 @@ # limitations under the License. # --- -- name: Install urllib3 with pip - pip: - name: urllib3 - version: 1.10.2 - -- name: Install requests with pip - pip: - name: requests - version: 2.6.1 +- name: Install Python dependencies + yum: name={{item}} + with_items: + - python-urllib3 + - python-requests + when: ansible_distribution == "CentOS"