websocketd

aadl.websocketd

This role installs websocketd and configures a system service for it.

Requirements

This role presumes a linux based server.

Use ansible >= 2.4.3 to get around issue 30753

Default Role Variables

websocketd_version: '0.3.1'
websocketd_checksum: ''
websocketd_install_path: '/usr/local/bin'

websocketd_user: 'www-data'
websocketd_group: 'www-data'

websocketd_service_options: []

websocketd_options: ''

Example Evergreen Variables

websocketd_version: '0.3.1'
websocketd_checksum: ''
websocketd_install_path: '/usr/local/bin'

websocketd_user: 'opensrf'
websocketd_group: 'opensrf'

websocketd_service_options:
  - 'Environment=PATH=/openils/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
  - 'Environment=LD_LIBRARY_PATH=/openils/lib:/usr/local/lib:/usr/local/lib/dbd:$LD_LIBRARY_PATH'

websocketd_options: '--loglevel error --maxforks 250 --port 7682 /openils/bin/osrf-websocket-stdio'

Example Playbook

- hosts: servers
  become: yes
  roles:
     - { role: aadl.websocketd }

License

GPLv2

About

Ansible role to install Websocketd

Install
ansible-galaxy install aadl-ansible/websocketd
GitHub repository
License
gpl-2.0
Downloads
23
Owner
Ansible roles created or used by AADL