如何使用/安装 Ansible 集合 - 内容没有名为“所有者”的字段,抱歉,找不到 community.kubernetes

onk*_*ows 3 collections ansible kubernetes

我注意到越来越多的东西是使用 Ansible 集合分发的。它看起来不错,但我不清楚 Ansible 集合是如何使用/应该使用的。

例如,当我尝试

ansible-galaxy collection install community.kubernetes
Run Code Online (Sandbox Code Playgroud)

它只显示警告和错误,什么也不做

[user:~] 5 $ ansible-galaxy collection install community.kubernetes
- downloading role 'collection', owned by   [WARNING]: - collection was NOT installed successfully: Content has no field named 'owner'

ERROR! - you can use --ignore-errors to skip failed roles and finish
processing the list.
Run Code Online (Sandbox Code Playgroud)

忽略错误无济于事,它仍然无法安装

[user:~] $ ansible-galaxy collection install community.kubernetes --ignore-errors
- downloading role 'collection', owned by 
 [WARNING]: - collection was NOT installed successfully: Content has no field named 'owner'

- downloading role 'kubernetes', owned by community
 [WARNING]: - community.kubernetes was NOT installed successfully: - sorry, community.kubernetes was not found on
https://galaxy.ansible.com.

[user:~] $ 
Run Code Online (Sandbox Code Playgroud)

onk*_*ows 8

集合需要 Ansible 2.9.*