質問: 5.6.47-2.el6 for package: mysql-community-server-5.6.47-2.el6.x86_64\n--> Processing Dependency: perl(DBI) for package: mysql-community-server-5.6.47-2.el6.x86_64\n--> Processing Dependency: libnuma.so.1(libnuma_1.2)(64bit) for package: mysql-community-server-5.6.47-2.el6.x86_64\n--> Processing Dependency: libnuma.so.1(libnuma_1.1)(64bit) for package: mysql-community-server-5.6.47-2.el6.x86_64\n--> Processing Dependency: libnuma.so.1()(64bit) for package: mysql-community-server-5.6.47-2.el6.x86_64\n---> Package mysql-utilities.noarch 0:1.6.5-1.el6 will be installed\n--> Processing Dependency: mysql-connector-python >= 2.0.0 for package: mysql-utilities-1.6.5-1.el6.noarch\n--> Running transaction check\n---> Package mysql-community-common.x86_64 0:5.6.47-2.el6 will be installed\n---> Package mysql-community-libs.x86_64 0:5.6.47-2.el6 will be installed\n---> Package mysql-connector-python.x86_64 0:2.1.7-1.el6 will be installed\n---> Package numactl.x86_64 0:2.0.9-2.el6 will be installed\n---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mysql-community-client x86_64 5.6.47-2.el6 mysql56-community 34 M\n mysql-community-devel x86_64 5.6.47-2.el6 mysql56-community 5.9 M\n mysql-community-server x86_64 5.6.47-2.el6 mysql56-community 77 M\n mysql-utilities noarch 1.6.5-1.el6 mysql-tools-community 883 k\nInstalling for dependencies:\n mysql-community-common x86_64 5.6.47-2.el6 mysql56-community 341 k\n mysql-community-libs x86_64 5.6.47-2.el6 mysql56-community 3.6 M\n mysql-connector-python x86_64 2.1.7-1.el6 mysql-connectors-community 257 k\n numactl x86_64 2.0.9-2.el6 base 74 k\n perl-DBI x86_64 1.609-4.el6 base 705 k\n\nTransaction Summary\n================================================================================\nInstall 9 Package(s)\n\nTotal size: 122 M\nTotal download size: 121 M\nInstalled size: 515 M\nDownloading Packages:\n"]} to retry, use: --limit @/home/vagrant/centos6/main.retry PLAY RECAP ********************************************************************* localhost : ok=17 changed=4 unreachable=0 failed=1 [vagrant@localhost centos6]$
回答: 参照しているmain.yml内のmysqlインストールに関する内容はこちらであってますか? (GitHubからダウンロードしたものです) ``` - name: install mysql yum: name=mysql-server enablerepo=remi,epel state=present ``` このとおりだと、リポジトリとしてremiおよびepelを参照したいのに、エラーログによるとmysql56-communityリポジトリを参照しています。 mysql56-communityリポジトリ設定内で無効(enable=0)に変更してみるといかがでしょうか。 再実行前に ``` yum clean all ``` も実施しておいた方がよいです