psdash

Ansible Role: psdash

Build Status

Installs psdash on a Debian-based distro.

This role installs and configures the latest version of psdash via pip.

Requirements (on host that executes the role)

  • systemd

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

psdash_port: 5000

The port that psdash should listen on.

psdash_mode: web

The operating mode for psdash. Should be one of web or agent. If agent, you must specify a psdash_master variable.

psdash_master: undefined

The URL for the psdash node running in web mode - i.e. http://10.0.0.1:5000

psdash_config: ""

The configuration values for psdash. It supports all configuration options available to psdash. For example, to change the URL prefix that psdash responds at to /psdash use the following config:

psdash_config: |
  PSDASH_URL_PREFIX='/psdash'

Dependencies

None.

Example Playbook

- hosts: server
  roles:
    - role: robgmills.psdash

Try It!

From the root of the project:

vagrant up

...then...

ansible-playbook -i inventory -b -u vagrant -k playbook.yml

...then use your favorite browser to connect to http://192.168.50.30:5000

License

MIT / BSD

Author Information

This role was created in 2016 by Rob Mills.

About

Installs and configures psdash

Install
ansible-galaxy install robgmills/ansible-psdash
GitHub repository
License
Unknown
Downloads
40
Owner
I like scaling people, process and technology. Engineering @ShipBob. Formerly of @spothero, @UptakeOpenSource, @peapod.