Ansible 测试题中出现的错误
作者:互联网
一、mariadb写错成maraiadb
报错:
fatal: [serverb]: FAILED! => {"changed": false, "msg": "No package matching 'maraiadb' found available, installed or updated", "rc": 126, "results": ["php-5.4.16-48.el7.x86_64 providing php is already installed", "No package matching 'maraiadb' found available, installed or updated"]}
fatal: [serverd]: FAILED! => {"changed": false, "msg": "No package matching 'maraiadb' found available, installed or updated", "rc": 126, "results": ["php-5.4.16-48.el7.x86_64 providing php is already installed", "No package matching 'maraiadb' found available, installed or updated"]}
fatal: [serverc]: FAILED! => {"changed": false, "msg": "No package matching 'maraiadb' found available, installed or updated", "rc": 126, "results": ["php-5.4.16-48.el7.x86_64 providing php is already installed", "No package matching 'maraiadb' found available, installed or updated"]}
fatal: [servera]: FAILED! => {"changed": false, "msg": "No package matching 'maraiadb' found available, installed or updated", "rc": 126, "results": ["No package matching 'maraiadb' found available, installed or updated"]}
二、Development写错Develpoment
报错:
fatal: [servera]: FAILED! => {"changed": false, "changes": {"installed": ["@Develpoment Tools"]}, "msg": "Error: Nothing to do\n", "rc": 1, "results": ["Loaded plugins: fastestmirror, langpacks\nLoading mirror speeds from cached hostfile\n * base: mirrors.huaweicloud.com\n * extras: mirrors.huaweicloud.com\n * updates: mirrors.huaweicloud.com\nGroup Develpoment Tools does not exist.\n"]}
标签:available,maraiadb,updated,错误,No,测试题,installed,Ansible,matching 来源: https://blog.csdn.net/qian_girl/article/details/121597629