avnes.k9s

ansible-role-k9s

Ansible

用于安装 k9s 的 Ansible 角色。

需求

Poetry。可以从 https://python-poetry.org/docs/ 安装。

角色变量

k9s_version: 3.7.2
k9s_for_all_users: true # 如果为 false,将安装在用户的 ~/bin 目录中
command_shell: bash         # 必须是 bash 或 zsh

依赖

示例剧本

- hosts: all
  roles:
     - { role: avnes.k9s }

兼容 pip

poetry export --dev --output requirements.txt

测试

poetry install
poetry shell
molecule test

许可证

MIT

作者信息

https://github.com/avnes

关于项目

Will install k9s

安装
ansible-galaxy install avnes.k9s
许可证
mit
下载
8.5k
拥有者
Lead {Site Reliability, Cloud, DevOps, Platform} Engineer