【发布时间】:2023-02-02 17:24:14
【问题描述】:
我尝试安装 Ansible Galaxy 角色https://github.com/ontic/ansible-role-fonts,但没有找到与错误消息相关的任何帮助。
这是发生了什么:
$ ansible-galaxy install ontic.fonts
Starting galaxy role install process
- downloading role 'fonts', owned by ontic
- downloading role from https://github.com/ontic/ansible-role-fonts/archive/v2.4.0.tar.gz
[WARNING]: - ontic.fonts was NOT installed successfully: this role does not appear to have a meta/Debian.yml file.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
明明没有meta/Debian.yml,没错。但为什么甚至需要它呢?
也许这是一个本地问题?
$ ansible-galaxy --version
ansible-galaxy [core 2.13.6]
config file = .../ansible/test/ansible.cfg
configured module search path = ['/home/.../.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = .../ansible6/lib/python3.8/site-packages/ansible
ansible collection location = /home/.../.ansible/collections:/usr/share/ansible/collections
executable location = ...ansible6/bin/ansible-galaxy
python version = 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]
jinja version = 3.1.2
libyaml = True
【问题讨论】: