Skip to main content

4 posts tagged with "Ansible"

View All Tags

Ansible: "SSH Error: data could not be sent to remote host"の解決法

· 3 min read
Yu Sasaki
Enterprise Security Manager / Advisor

事象

TASK [Gathering Facts] *************************************************************************************************
fatal: [192.0.2.203]: UNREACHABLE! => {"changed": false, "msg":
"SSH Error: data could not be sent to remote host \"192.0.2.203\".
Make sure this host can be reached over ssh", "unreachable": true}
fatal: [192.0.2.201]: UNREACHABLE! => {"changed": false, "msg":
"SSH Error: data could not be sent to remote host \"192.0.2.201\".
Make sure this host can be reached over ssh", "unreachable": true}

Ansible: MariaDB エラー解決法 - 1045, Access denied for user 'root'@'localhost' (using password: YES)

· 2 min read
Yu Sasaki
Enterprise Security Manager / Advisor

事象

Ansibleのmysql_dbモジュールを用いてMariaDB (MySQL派生OSS)の環境構築(DB, User作成)をLinux (CentOS 7.x系)に実施したところ、下記のエラーが発生し、Ansible Playbookの実行が中断。

尚、MariaDBのVersionはVer 15.1 Distrib 10.2.15-MariaDB。