Install latest ansible version

[root@ocp ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.4 (Maipo) [root@ocp ~]# yum install python-pip [root@ocp ~]# pip2.7 install ansible [root@ocp ~]# ansible --version ansible 2.5.0 config file = None configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /bin/ansible python version = 2.7.5 (default, May … Continue reading Install latest ansible version

Open stack Pike

[root@testbox ~]# service firewalld stop Redirecting to /bin/systemctl stop firewalld.service [root@testbox ~]# chkconfig firewalld off Note: Forwarding request to 'systemctl disable firewalld.service'. Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service. Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service. [root@testbox ~]# service NetworkManager stop Redirecting to /bin/systemctl stop NetworkManager.service [root@testbox ~]# chkconfig NetworkManager off Note: Forwarding request to 'systemctl disable NetworkManager.service'. Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service. Removed symlink … Continue reading Open stack Pike

python basics learning

Hey, This online practice url is great for learning python & practice & test https://www.python.org/shell/ https://www.pythonanywhere.com https://www.jdoodle.com/python-programming-online Or Can use linux based machine at http://www.webminal.org/ How to use print function print ('Hello World') print("Hello world") o/p Hello World Hello world Adding two values x=1.2 y=1.3 z=x+y print z o/p 2.5 x=1.2 y=1.3 sum=x+y print sum o/p 2.5 … Continue reading python basics learning