CentOS8が導入されたサーバーに対して簡易的な内容のAnsibleを叩いたら、
2件のエラーパターンが出てくるようになってしまった。
☑Ansible 2.3.2.0で起きたエラー
FAILED! => {"changed": false, "cmd": "dnf install -y python2-dnf", "msg": "Error: Unable to find a match", "rc": 1, "stderr": "Error: Unable to find a match\n",
☑Ansible 2.7.8で起きたエラー
FAILED! => {"changed": false, "cmd": "dnf install -y python2-dnf", "msg": "Error: Unable to find a match", "rc": 1, "stderr": "Error: Unable to find a match\n",
ymlの内容はyum モジュールでパッケージのインストールしか書いてないシンプルなyml。
Twitterなどで情報を頂き解決したので、その備忘録をまとめておく。
続きを読む