Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2018
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.51 KB | None | 0 0
  1. So I bumped into this
  2. fatal: [77.55.234.30]: FAILED! => {"changed": false, "msg": "The MySQL-python module is required."}
  3.  
  4. So I added it to my MySQL role
  5. - name: Install mysql
  6.   apt: name={{ item }} state=present
  7.   with_items:
  8.    - mysql-server
  9.     - MySQL-python
  10.  
  11. failed: [77.55.234.30] (item=[u'mysql-server', u'MySQL-python']) => {"changed": false, "item": ["mysql-server", "MySQL-python"], "msg": "No package matching 'MySQL-python' is available"}
  12.  
  13. So I guess MySQL-python is not available in the default repo?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement