avnes.tint2

ansible-role-tint2

Ansible

用于安装 tint2 并进行基本设置和配置的 Ansible 角色。

需求

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

角色变量

config_owner:
  字符串(必需)指定应该为其设置 tint2  Linux 用户。

launcher_item_app:
  列表(必需)指定要添加到 tint2 启动器的应用程序。

更多可选变量可以在 defaults/main.yml 中找到,其他变量将在 tint2rc.j2 模板中使用。

依赖

示例剧本

- hosts: all
  vars:
    config_owner: 'maya'
    launcher_item_app:
      - '/usr/share/applications/chromium-browser.desktop'
      - '/usr/share/applications/pcmanfm.desktop'
      - '/usr/share/applications/atom.desktop'
      - '/usr/share/applications/keepassx2.desktop'
      - '/usr/share/applications/lxterminal.desktop'
  roles:
     - { role: avnes.ansible-role-tint2 }

为了与 pip 兼容

poetry export --dev --output requirements.txt

测试

poetry install
poetry shell
molecule test

许可

MIT

作者信息

https://github.com/avnes/

关于项目

Will install tint2 and setup basic configuration

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