【问题标题】:How to install Ansible Galaxy Role ontic.fonts?如何安装 Ansible Galaxy Role ontic.fonts?
【发布时间】: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

【问题讨论】:

    标签: ansible ansible-galaxy


    【解决方案1】:

    我扰乱了我的本地 python 虚拟环境,在创建一个新的虚拟环境后,问题不再重现。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-10-03
      • 2016-10-25
      • 1970-01-01
      • 2016-08-25
      • 2020-02-20
      • 2021-03-10
      • 1970-01-01
      • 2020-08-15
      相关资源
      最近更新 更多