Parth6288

Untitled

Sep 26th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. ansible@RancherServer1:/etc/ansible$ ansible-playbook -s db_install.yaml --check
  2. [DEPRECATION WARNING]: The sudo command line option has been deprecated in favor of the "become" command line arguments. This feature will be removed in version 2.6.
  3. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  4.  
  5. PLAY [rancher] ******************************************************************************************************************************************************************
  6.  
  7. TASK [Gathering Facts] **********************************************************************************************************************************************************
  8. ok: [RancherServer2]
  9.  
  10. TASK [Install Mysql] ************************************************************************************************************************************************************
  11. changed: [RancherServer2] => (item=[u'mysql-server', u'python-mysqldb', u'build-essential', u'python-pip'])
  12.  
  13. TASK [install mysql-python using pip] *******************************************************************************************************************************************
  14. failed: [RancherServer2] (item=pip) => {"changed": false, "failed": true, "item": "pip", "msg": "Unable to find any of pip2, pip to use. pip needs to be installed."}
  15. failed: [RancherServer2] (item=MySQL-python) => {"changed": false, "failed": true, "item": "MySQL-python", "msg": "Unable to find any of pip2, pip to use. pip needs to be installed."}
  16. [WARNING]: Could not create retry file '/etc/ansible/db_install.retry'. [Errno 13] Permission denied: u'/etc/ansible/db_install.retry'
  17.  
  18.  
  19. PLAY RECAP **********************************************************************************************************************************************************************
  20. RancherServer2 : ok=2 changed=1 unreachable=0 failed=1
Add Comment
Please, Sign In to add comment