asciinema
Ansible Role: asciinema
Role to install (by default) asciinema or uninstall (if passed as var) on Debian family and EL family systems
Requirements
None.
Role Variables
Available variables are listed below (located in defaults/main.yml
):
Variables list:
asciinema_app: asciinema
asciinema_app_desired_state: present
Variables table:
Variable | Description |
---|---|
asciinema_app | Defines the app to install i.e. asciinema |
asciinema_package_desired_state | Defined to dynamically chose whether to install (i.e. either present or latest ) or uninstall (i.e. absent ) the package. Default is set to present . |
Dependencies
None
Example Playbook
For default behaviour of role (i.e. installation of asciinema package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.asciinema
For customizing behavior of role (i.e. installation of latest asciinema package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.asciinema
vars:
asciinema_package_desired_state: latest
For customizing behavior of role (i.e. un-installation of asciinema package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.asciinema
vars:
asciinema_package_desired_state: absent
License
Author Information
This role was created by Ali Muhammad.
About
Installs/uninstalls 'asciinema' package for recording and sharing terminal sessions.
Install
ansible-galaxy install darkwizard242/ansible-role-asciinema
License
mit
Downloads
3989
Owner
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!