运行ansible-playbook bootstrap.yml
yum错误.bmp (3.0 MB)
ok: [10.10.77.112]
fatal: [192.168.1.61]: FAILED! => changed=false
msg: |-
Error from repoquery: [‘/usr/bin/repoquery’, ‘–show-duplicates’, ‘–plugins’, ‘–quiet’, ‘–disablerepo’, ‘’, ‘–enablerepo’, ‘’, ‘–qf’, ‘%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}’, ‘systemd’]: Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Could not match packages: Cannot find a valid baseurl for repo: base/7/x86_64
离线环境下,没有连接yum源,为什么会报yum的错误?导致错误的原因是什么?