Closed gaurav-dalvi closed 7 years ago
This line in net_demo_installer script : https://github.com/contiv/demo/blob/master/net/net_demo_installer#L215
Installs ansible from epel repo. Currently it installs 2.1.1 and hence our ansible scripts fail with the error mentioned above.
Workaround. (for Centos)
1: Remove current ansible
sudo yum remove ansible
2: Install ansible 2.1.0
sudo easy_install pip
sudo pip install ansible==2.1.0.0
3: Remove this line from net_demo_installer script
https://github.com/contiv/demo/blob/master/net/net_demo_installer#L215
cc @mapuri and @vvb
Not seeing the issue with ansible 2.2.0.0. Closing this.
Reference issue : https://github.com/contiv/ansible/issues/259 and https://github.com/contiv/ansible/issues/264
epel-testing to epel-release repo transition wont work now. ansible 2.1.1.1 version gets installed and then our ansible scripts will fail because of this error :
TASK [include] ***** included: /home/admin/ansible/roles/ucarp/tasks/cleanup.yml for node1, node2 fatal: [node1]: FAILED! => {"failed": true, "reason": "'item' is undefined"} ...ignoring fatal: [node2]: FAILED! => {"failed": true, "reason": "'item' is undefined"}