Name: ansible-task-pm2
Owner: SpatialDev
Description: Ansible task for setting up PM2
Created: 2016-02-20 20:45:08.0
Updated: 2016-02-20 20:45:08.0
Pushed: 2016-04-12 22:13:05.0
Homepage: null
Size: 3
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Ansible task for setting up PM2
Include this task in your ansible playbook to install PM2 and configure start-up script.
Synopsis of sub-tasks
1) Install PM2 globally
2) Copy PM2 JSON application configuration file from Ansible Management Node to target host(s). An example of a PM2 config file is here. Optional, if pm2_config_apps: True.
pm2_config_apps (Boolean) - whether to configure PM2 to manage specific apps. default
pm2_json_src_path (string) - the path to PM2 json application config file on the Ansible Managment Node
pm2_json_dest_path (string) - the path to which the PM2 json application config file should be copied to on target host
pm2_username (string) - username for that will execute PM2