{"id":7315,"date":"2018-04-06T08:49:51","date_gmt":"2018-04-06T00:49:51","guid":{"rendered":"http:\/\/rmohan.com\/?p=7315"},"modified":"2018-04-06T08:49:51","modified_gmt":"2018-04-06T00:49:51","slug":"install-latest-ansible-version","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=7315","title":{"rendered":"Install latest ansible version"},"content":{"rendered":"<p>[root@ocp ~]#<strong> cat \/etc\/redhat-release<\/strong><br \/>\nRed Hat Enterprise Linux Server release 7.4 (Maipo)<\/p>\n<p>[root@ocp ~]#<strong> yum install python-pip<\/strong><\/p>\n<p>[root@ocp ~]#<strong> pip2.7 install ansible<\/strong><\/p>\n<p>[root@ocp ~]#<strong> ansible \u2013version<\/strong><br \/>\nansible 2.5.0<br \/>\nconfig file = None<br \/>\nconfigured module search path = [u\u2019\/root\/.ansible\/plugins\/modules\u2019, u\u2019\/usr\/share\/ansible\/plugins\/modules\u2019]<br \/>\nansible python module location = \/usr\/lib\/python2.7\/site-packages\/ansible<br \/>\nexecutable location = \/bin\/ansible<br \/>\npython version = 2.7.5 (default, May 3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[root@ocp ~]# cat \/etc\/redhat-release Red Hat Enterprise Linux Server release 7.4 (Maipo)<\/p>\n<p>[root@ocp ~]# yum install python-pip<\/p>\n<p>[root@ocp ~]# pip2.7 install ansible<\/p>\n<p>[root@ocp ~]# ansible \u2013version ansible 2.5.0 config file = None configured module search path = [u\u2019\/root\/.ansible\/plugins\/modules\u2019, u\u2019\/usr\/share\/ansible\/plugins\/modules\u2019] ansible python module location = \/usr\/lib\/python2.7\/site-packages\/ansible executable location = \/bin\/ansible python version = 2.7.5 (default, May [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[91],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7315"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7315"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7315\/revisions"}],"predecessor-version":[{"id":7316,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7315\/revisions\/7316"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}