MEATSPACECHATMEATSPACECHATMMMMMMMMMMD,,,,.OMEATSPACECHATMEATSPACECHATMMMMMMMMMMM
MEATSPACECHATMEATSPACECHATMMMMMMMM~,,,,,,,,,,MEATSPACECHATMEATSPACECHATMMMMMMMMM
MEATSPACECHATMEATSPACECHATMMMMM.,,,,,,,,,,,,,,,8MEATSPACECHATMEATSPACECHATMMMMMM
MEATSPACECHATMEATSPACECHATMMZ.,,,,,,.+????.,,,,,.?MEATSPACECHATMEATSPACECHATMMMM
MEATSPACECHATMMMMMMMMMMMMZ,,,,,,,,,I+++++?+?7.,,,,,:MEATSPACECHATMEATSPACECHATMM
MEATSPACECHATMMMMMMMMMM,,,,,,,,,,.I?++++~?++???I.,,,,,+MEATSPACECHATMMMMMMMMMMMM
MEATSPACECHATMMMMMMM+,,,,,,=???++?+++++++?+??? ??+=,,,,,+MEATSPACECHATMMMMMMMMMM
MEATSPACECHATMMMM?,,,,,,,.??+++++?=+?++++?+++++??+++,,,,,,,ZMEATSPACECHATMMMMMMM
MEATSPACECHATMM.,,,,.,=+??+++++++??++++++?+++?+++++?,,,,,,,,,=MEATSPACECHATMMMMM
MMMMMMMMMMMM:,,,,,.?+++++=++++++,,,,~++++++?.?++++++I,,,,,,,,,,.NMEATSPACECHATMM
MMMMMMMMM~,,,,,,,=?++++++?.I++++.,,,,,=++++++++++++++?.,,,,,,,,,,.7MEATSPACECHAT
MMMMMMD,,,,,,,,,:=??+++++++?++++?++,,,,?++++++I??.?+++?+??=:..,,,,,,,MMMMMMMMMMM
MMMMMM::,,,,,,,=?+??=+++++?+??++++?,=?+?++++?:+++??~=?+++++++++~,,,,,,,7MMMMMMMM
MMMMMM::::,,,,,.?++++++???,+.:?++++??+?+??++=??=+++++++++++?~~.,,,,,,,,~=MMMMMMM
MMMMMM::::::.,,,,.?++++++++=,++++:.=+++I?:+???I?++??+++??.,,,,,,,,,,,====MMMMMMM
MMMMMM::::,:::,.,,,,?++++++~?++?.,,.?++++++?~?+++??+++?.,,,,,,,,,.=======MMMMMMM
MMMMMM::::II+:::,,,,,,.?????I=,,,,:++++++++++?+?+++++=,,,,,,,,.==========MMMMMMM
MMMMMM::::IIII7::::.,,,,,,,,,,,,,I?+?,?+:+++++??+++++,,,,,,,:============MMMMMMM
MMMMMM::::?IIIII=::::.,,,,,,,,,,,+?++,?+?+++++++?++,,,,,,.======~$777+===MMMMMMM
MMMMMM::::IIIIIIII=::::,,,,,,,,,.+++++++++++++??,,,,,,.+=======+I7777?===MMMMMMM
MMMMMM:::,IIII7:IIII::::::,,,,,,,,=+++++++++I=.,,,,.~========7777=777~===MMMMMMM
MMMMMM:::,III77~IIIII,::::::.,,,,,,,.=~~:,.,,,,,,,=========~77777777$====MMMMMMM
MMMMMM=:::IIIIIII~7III,:::::::.,,,,,,,,,,,,,,,.+=========I77777777777====MMMMMMM
MMMMMM+:::IIIIIII:IIIII+~I7?,:::,,,,,,,,,,,,~=========~$777777777777I====MMMMMMM
MMMMMM7::::I:7III+IIIIIIIIIIII:::::,,,,,,,=========+$?=77$7I77777777I===+MMMMMMM
MMMMMMZ::::7I77IIIIIIIIIIIIIIII,:::::,.========~I$77777777I=77777777$===?MMMMMMM
MMMMMMD::::III=IIIIIIIII+IIIIIII,:::::=======77777777777777$I~~$77777~==7MMMMMMM
MMMMMMM::::IIIIIIIIII?IIIIIII7III7:::,======$777777777777777777777777===7MMMMMMM
MMMMMMM::::7IIIIIIIII?7IIII,~7IIII,::,=====?777777~?7777777777$+~+777===ZMMMMMMM
MMMMMMM::::7IIII+IIII?~III.IIIIII7:::,====:777777+77777=777$$77777777~==DMMMMMMM
MMMMMMM::::IIIII7?III,7II7+IIIIII?:::,====~77777+7777$=7777777777777$===NMMMMMMM
MMMMMMM:::+II.III=II::IIIIIIIIIII7:::,====?777777777?+777777777777777===MMMMMMMM
MMMMMMM:::+III.III.I,IIIIIIIIIIIII,::,===~77+777777:$77777777?I777777===MMMMMMMM
MMMMMMM:::+III7III77,IIIIIIIIIIIII7::,===~77777?:=?I77I~?777777777?7$===MMMMMMMM
MMMMMMM:::,IIIIIIIII?IIIIIIII?IIIII::,===+777777+77777777777777777777===MMMMMMMM
MMMMMMM::::+IIIIIII?III+,~:IIIIIIII::,===?7777777?77777777777$~777777===MMMMMMMM
MMMMMMM:::::IIIIII7?IIIIIIIIIIIIIII:::===7777777777$7777777$=I777777====MMMMMMMM
MMMMMMMN::::::?77::IIIIIIIIIIIIIIII:::===77777777777?$7777777777777?====MMMMMMMM
MMMMMMMMMM::::::::=IIIIIII=77777II7:::===$:777$7777777+777777777$~=====DMMMMMMMM
MMMMMMMMMMMM::::::::7I7IIII,II?=II~:::===?77777$~7777777777777~~====IMMMMMMMMMMM
MEATSPACECHATMO::::::II?IIIIIIIIII~:::===+777777$77777777~I~=====?MEATSPACECHATM
MEATSPACECHATMMMD::::::7IIIII=IIII?:::===~77777=7777$7II=======OMEATSPACECHATMMM
MEATSPACECHATMMMMMM:::::.7IIIIIIII7:::====77777=77==========?MEATSPACECHATMMMMMM
MEATSPACECHATMMMMMMMM?:::::+IIIIII7:::====$7777?=========+MEATSPACECHATMMMMMMMMM
MEATSPACECHATMMMMMMMMMMZ,::::,7IIII::~====$777+========IMEATSPACECHATMMMMMMMMMMM
MEATSPACECHATMMMMMMMMMMMMD:::::,7II::~====I?~=======+MEATSPACECHATMEATSPACECHATM
MEATSPACECHATMEATSPACECHATMM+::::,:::~============NMEATSPACECHATMEATSPACECHATMMM
MEATSPACECHATMEATSPACECHATMMMM=::::::~=========+MEATSPACECHATMEATSPACECHATMMMMMM
MEATSPACECHATMEATSPACECHATMMMMMM7~:::~=======MEATSPACECHATMEATSPACECHATMMMMMMMMM
MEATSPACECHATMEATSPACECHATMMMMMMMMM::~===+DMEATSPACECHATMEATSPACECHATMMMMMMMMMMM
MEATSPACECHATMEATSPACECHATMMMMMMMMMMM+++MEATSPACECHATMEATSPACECHATMEATSPACECHATM
NOTE: This is for the VERSION 1 Meatspace Chat which is superseded by Meatspace Chat version 2.
This is an Ansible role for Meatspace Chat, the fantastic web chat with an amazing community of wonderful meats, animated .GIF goodness, side splitting improv, and so much more.
Use this role to deploy your very own instance of the open source Meatspace Chat application.
The Meatspace Chat role requires a Debian based Linux host and is tested to function on Ubuntu with the following specific software versions:
All variables are specified in defaults/main.yml
and vars/main.yml
.
Name | Default Value | Description |
---|---|---|
meatspace_chat_domain | http://10.1.1.40 | URL for Meatspace Chat app |
meatspace_chat_port | 3000 | TCP port for Meatspace Chat app |
meatspace_chat_secret | "" | Meatspace Chat session secret |
meatspace_chat_node_version | 0.10.26 | Preferred Node.js version |
meatspace_chat_node_packages | list | List of Node.js dependency packages to install |
meatspace_chat_os_packages | list | List of OS dependency packages to install |
meatspace_chat_repo | github.com/meatspaces/meatspace_chat.git | Meatspace Chat GitHub repository |
meatspace_chat_nvm_repo | github.com/creationix/nvm.git | Node Version Manager Github repository |
meatspace_chat_zeromq_pkg | zeromq-4.0.4.tar.gz | ØMQ source package |
The following Node.js dependency packages are defined in
meatspace_chat_global_node_packages
and installed globally into the Node.js
environment:
The following OS dependency packages are defined in
meatspace_chat_os_packages
and installed by default:
Name | Default Value | Description |
---|---|---|
meatspace_chat_admin | vagrant | OS user account of Meatspace Chat owner |
meatspace_chat_nvm_dir | /home/{{ meatspace_chat_admin }}/nvm | Directory for Node Version Manager (nvm) installation |
meatspace_chat_node_dir | {{ meatspace_chat_nvm_dir }}/v{{ meatspace_chat_node_version }}/bin | Directory for Node.js installation |
meatspace_chat_dir | /home/{{ meatspace_chat_admin }}/meatspace_chat | The Meatspace Chat root directory |
At a minimum, modify the variables defined in the following files as necessary:
defaults/main.yml
vars/main.yml
Copy hosts.example
to hosts
and edit it to update the values for your
Meatspace Chat host. Be sure to change the following values:
0.0.0.0
ubuntu
~/.ssh/meatspace_chat_id
After configuration a basic Meatspace Chat installation and activation is
possible using the included examples/site.yml
playbook.
Copy examples/site.yml.example
to examples/site.yml
, edit it, and modify
the meatspace_chat_twitter_key
and meatspace_chat_twitter_secret
variables, which will be passed to the role at runtime.
Alternatively, you can specify the variables with the --extra-vars
option
to ansible-playbook
. See the
Ansible documentation for
more details on using variables.
ansible-playbook -i hosts site.yml
NOTE: Do not commit site.yml
to Github after adding Twitter credentials;
the included .gitignore
will ignore it by default.
See the README_VAGRANT.md for instructions on using this role with
Mac OS X and Vagrant. If you have Ansible, VirtualBox, and Vagrant already
installed, try changing into the /etc/ansible/ansible-meatspace-chat
role
directory and executing:
vagrant up
None
Apache 2