2
对于我可怜的英语,我很抱歉。Ansible和MariaDB。无法通过剧本安装MariaDB
我被困在安装MariaDB服务器到流浪机。我有以下几点:
- name: install mariadb addons
apt: pkg=software-properties-common state=latest
sudo: yes
- name: add mariadb key
apt_key: url=http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xcbcb082a1bb943db
sudo: yes
- name: add mariadb repository
apt_repository: repo='deb http://mirror.timeweb.ru/mariadb/repo/10.0/ubuntu precise main'
sudo: yes
notify:
- update repositories
vagrant provision
后,我得到如下:
TASK: [install mariadb addons] ************************************************
ok: [192.168.0.3]
TASK: [add mariadb key] *******************************************************
ok: [192.168.0.3]
TASK: [add mariadb repository] ************************************************
failed: [192.168.0.3] => {"failed": true}
msg: Could not import python modules: pycurl. Please install python-pycurl package.
FATAL: all hosts have already failed -- aborting
我做错了吗?我如何在不安装python-pycurl包的情况下安装mariaDB?
为什么你不希望安装'蟒蛇,pycurl'您ansible剧本文件
或者,如果顶部? – Mxx