contiv-experimental / demo

Easy cut demos to try contiv [DEPRECATED]
Other
6 stars 25 forks source link

net_demo_installer script installs ansible 1.9.4 version on centos 7.x. Setup needs ansible 2.0.x #56

Closed gaurav-dalvi closed 8 years ago

gaurav-dalvi commented 8 years ago

with Centos 7.x version , steps mentioned in the net_demo_installer script, installs ansible 1.9.4 version. Because of which this setup does not succeed. Need to install ansible 2.0.x using pip.

Current Steps to install ansible : if [[ ${OS_TYPE} =~ ^CentOS ]]; then sudoExec yum install -y epel-release epel-testing git wget sudoExec yum install -y ansible docker_version="1.10.3" fi

gaurav-dalvi commented 8 years ago

This should install anisble 2.0.x on centos.

if [[ ${OS_TYPE} =~ ^CentOS ]]; then sudoExec easy_install pip sudoExec pip install ansible docker_version="1.10.3" fi

mapuri commented 8 years ago

using pip along side yum is a bad idea as it messes up yum package database.

We already install ansible using epel-testing repo elsewhere so current logic should have worked, maybe we just need to specify the version explicitly like sudoExec yum install -y ansible-2* ?