darkwizard242.simplescreenrecorder
Ansible角色:simplescreenrecorder
该角色用于在Debian和EL系统上安装(默认情况下)SimpleScreenRecorder 包,或根据变量卸载。
需求
无。
角色变量
可用的变量如下(位于defaults/main.yml
中):
变量列表:
simplescreenrecorder_app: simplescreenrecorder
simplescreenrecorder_desired_state: present
变量表:
变量 | 描述 |
---|---|
simplescreenrecorder_app | 定义要安装的应用程序,例如simplescreenrecorder |
simplescreenrecorder_desired_state | 动态选择是安装(例如present 或latest )还是卸载(例如absent )该软件包。默认值为present 。 |
依赖关系
无
示例剧本
在ansible剧本中,角色的默认行为(即安装simplescreenrecorder包)。
- hosts: servers
roles:
- darkwizard242.simplescreenrecorder
在ansible剧本中,定制角色的行为(即安装最新的simplescreenrecorder包)。
- hosts: servers
roles:
- darkwizard242.simplescreenrecorder
vars:
simplescreenrecorder_desired_state: latest
在ansible剧本中,定制角色的行为(即卸载simplescreenrecorder包)。
- hosts: servers
roles:
- darkwizard242.simplescreenrecorder
vars:
simplescreenrecorder_desired_state: absent
许可
作者信息
该角色由Ali Muhammad创建。
关于项目
SimpleScreenRecorder ansible role for recording purposes.
安装
ansible-galaxy install darkwizard242.simplescreenrecorder
许可证
mit
下载
4.3k
拥有者
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!