METRON-1451 On Centos full dev, Metron Indexing shows up as stopped (anandsubbu via merrimanr) closes apache/metron#932
Project: http://git-wip-us.apache.org/repos/asf/metron/repo Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/fa86663e Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/fa86663e Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/fa86663e Branch: refs/heads/feature/METRON-1416-upgrade-solr Commit: fa86663ecdb166f889c9c0c4c34373aec68dbd30 Parents: 48d9d25 Author: anandsubbu <asubramanian@HW12724.local> Authored: Thu Feb 8 16:19:39 2018 -0600 Committer: merrimanr <merrim...@apache.org> Committed: Thu Feb 8 16:19:39 2018 -0600 ---------------------------------------------------------------------- .../ansible/roles/ambari_config/tasks/dependencies.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/metron/blob/fa86663e/metron-deployment/ansible/roles/ambari_config/tasks/dependencies.yml ---------------------------------------------------------------------- diff --git a/metron-deployment/ansible/roles/ambari_config/tasks/dependencies.yml b/metron-deployment/ansible/roles/ambari_config/tasks/dependencies.yml index fdb21c7..52d6ca1 100644 --- a/metron-deployment/ansible/roles/ambari_config/tasks/dependencies.yml +++ b/metron-deployment/ansible/roles/ambari_config/tasks/dependencies.yml @@ -15,10 +15,7 @@ # limitations under the License. # --- -- name: Install python-requests on CentOS - yum: name=python-requests - when: ansible_distribution == "CentOS" - -- name: Install python-requests on Ubuntu - apt: name=python-requests force=yes - when: ansible_distribution == "Ubuntu" +- name: Install python-requests module + pip: + name: requests + version: 2.6.1