{"id":19687224,"url":"https://github.com/trinitronx/ansible-role-wemux","last_synced_at":"2025-02-27T07:51:30.897Z","repository":{"id":20446293,"uuid":"23723270","full_name":"trinitronx/ansible-role-wemux","owner":"trinitronx","description":"Ansible role for installing wemux","archived":false,"fork":false,"pushed_at":"2018-02-03T20:15:22.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T07:47:33.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trinitronx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-06T01:09:05.000Z","updated_at":"2020-02-02T21:53:07.000Z","dependencies_parsed_at":"2022-08-28T17:52:10.130Z","dependency_job_id":null,"html_url":"https://github.com/trinitronx/ansible-role-wemux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fansible-role-wemux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fansible-role-wemux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fansible-role-wemux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fansible-role-wemux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinitronx","download_url":"https://codeload.github.com/trinitronx/ansible-role-wemux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240993952,"owners_count":19890419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T18:33:25.418Z","updated_at":"2025-02-27T07:51:30.876Z","avatar_url":"https://github.com/trinitronx.png","language":"Ruby","funding_links":["https://liberapay.com/trinitronx/donate"],"categories":[],"sub_categories":[],"readme":"wemux\n=====\n\u003cnoscript\u003e\u003ca href=\"https://liberapay.com/trinitronx/donate\"\u003e\u003cimg alt=\"Donate using Liberapay\" src=\"https://liberapay.com/assets/widgets/donate.svg\"\u003e\u003c/a\u003e\u003c/noscript\u003e\n[![Build Status](http://img.shields.io/travis/trinitronx/ansible-role-wemux.svg)](https://travis-ci.org/trinitronx/ansible-role-wemux)\n[![Ansible Role Downloads](https://img.shields.io/ansible/role/d/23571.svg)](https://galaxy.ansible.com/trinitronx/wemux/)\n[![Ansible Role](https://img.shields.io/ansible/role/23571.svg)](https://galaxy.ansible.com/trinitronx/wemux/)\n\nInstalls and configures [wemux][1] on a host.\n\nRequirements\n------------\n\nThis role depends on the [git][2] role by geerlingguy.\n\nRole Variables\n--------------\n\nThe default role variables in `defaults/main.yml` are:\n\n    ---\n    # defaults file for wemux\n    wemux:\n      install_prefix: /usr/local\n      host_list: root\n\n\nDependencies\n------------\n\n - [geerlingguy.git][2]\n - [trinitronx.tmux][8]\n\nYou may need to add this to your `Ansiblefile`:\n\n    #!/usr/bin/env ruby\n    #^syntax detection\n    \n    site \"https://galaxy.ansible.com/api/v1\"\n    \n    role \"geerlingguy.git\"\n    #role \"geerlingguy.git\" github: \"geerlingguy/ansible-role-git\"\n\n\nExample Playbook\n----------------\n\nTo run this playbook with default settings, create a basic playbook like this:\n\n    ---\n    # This playbook deploys the wemux role for testing\n    \n    - hosts: wemux-servers\n      user: root\n    \n      roles:\n        - wemux\n\n\nTo change the default `host_list` setting in the `wemux.conf` file, or to change the `install_prefix` path:\n\n    - hosts: servers\n      roles:\n         - { role: trinitronx.wemux, wemux: { install_prefix: /opt/, host_list: [ root, foo, myuser ] } }\n\nLicense\n-------\n\nMIT\n\nTesting\n-------\n\nThis role uses [`test-kitchen`][3] for integration testing!\n\nTo start out, you'll need to install `test-kitchen`.  The way I recommend to do this is to install [ChefDK][4]\nwhich bundles `test-kitchen` along with an embedded version of ruby in a known working set of gems.  You may\nalso decide to install ruby and `test-kitchen` on your own in which case you should use bundler.\n\nInstall via Bundler\n-------------------\n\nMake sure you have a working Ruby and put\n\n    gem 'test-kitchen'\n    gem 'kitchen-vagrant'\n    gem 'kitchen-sync'\n    gem 'librarian-ansible'\n    gem 'kitchen-docker'\n    gem 'kitchen-ansible', :git =\u003e 'git://github.com/trinitronx/kitchen-ansible.git'\n\nin your Gemfile.  Then run `bundle install`\n\nTo run integration tests: `kitchen test`\n\nInstall via ChefDK\n------------------\n\n 1. Download [ChefDK][4]\n 2. Install `kitchen-ansible` gem\u003cbr/\u003e\u003cbr/\u003e`eval $(/opt/chefdk/bin/chef shell-init $(basename $SHELL)); sudo /opt/chefdk/embedded/bin/gem install kitchen-ansible; sudo /opt/chefdk/embedded/bin/gem librarian-ansible kitchen-docker kitchen-sync`\n 3. Checkout this role: `git clone https://github.com/trinitronx/ansible-role-wemux.git trinitronx.wemux \u0026\u0026 cd trinitronx.wemux`\u003cbr/\u003e\n 4. Run Test Kitchen: `/opt/chefdk/bin/kitchen test`  (Alternatively, with `kitchen-docker` driver: `KITCHEN_YAML=.kitchen.docker.local.yml kitchen test`)\n\nStill Need Help?\n----------------\n\nTry checking out my other [ansible-tdd example repo][6]\n\nAuthor Information\n------------------\n\nOriginal wemux tasks adapted from [Jon Doveston's ide role][7]\n\n(c) 2014 Jon Doveston @hatoshi\n(c) 2014-2018 James Cuzella @trinitronx\n\n[1]: https://github.com/zolrath/wemux\n[2]: https://github.com/geerlingguy/ansible-role-git\n[3]: https://github.com/test-kitchen/test-kitchen\n[4]: https://downloads.getchef.com/chef-dk\n[5]: https://github.com/trinitronx/kitchen-ansible\n[6]: https://github.com/trinitronx/ansible-tdd\n[7]: https://github.com/hatoishi/ansible-dev/blob/master/ide/tasks/wemux.yml\n[8]: https://github.com/trinitronx/ansible-role-tmux\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Fansible-role-wemux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinitronx%2Fansible-role-wemux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Fansible-role-wemux/lists"}