{"id":28482129,"url":"https://github.com/osmlab/osm-slackbot-ansible","last_synced_at":"2026-01-31T08:03:33.998Z","repository":{"id":137437179,"uuid":"52112963","full_name":"osmlab/osm-slackbot-ansible","owner":"osmlab","description":"Ansible setup for OSM Slackbot","archived":false,"fork":false,"pushed_at":"2016-02-24T21:24:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-06-23T18:06:04.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/osmlab.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":"2016-02-19T20:00:26.000Z","updated_at":"2016-02-19T20:00:26.000Z","dependencies_parsed_at":"2023-05-09T12:22:42.474Z","dependency_job_id":null,"html_url":"https://github.com/osmlab/osm-slackbot-ansible","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osmlab/osm-slackbot-ansible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-slackbot-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-slackbot-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-slackbot-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-slackbot-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmlab","download_url":"https://codeload.github.com/osmlab/osm-slackbot-ansible/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-slackbot-ansible/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28934631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T07:49:44.436Z","status":"ssl_error","status_checked_at":"2026-01-31T07:49:34.274Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-06-07T20:09:30.480Z","updated_at":"2026-01-31T08:03:33.983Z","avatar_url":"https://github.com/osmlab.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# osm-slackbot-ansible\n\nAnsible Project for [OSM Slack Bot](https://github.com/osmlab/osm-slackbot).\n\n## Description\n\nThis is an [Ansible](https://www.ansible.com/) project for the easy deployment of [OSM Slack Bot](https://github.com/osmlab/osm-slackbot).  OSM Slack Bot (a Slack bot for [OpenStreetMap](http://openstreetmap.org/)) queries the [Humanitarian OpenStreetMap Team Tasking Manager](https://github.com/hotosm/osm-tasking-manager2) and the [OSM API](https://api.openStreetMap.org/api/0.6/).  Learn more in the [OSM Slack Bot Readme](https://github.com/osmlab/osm-slackbot/blob/master/README.rst).\n\n## Installation\n\nOn your control machine, you'll first need to install [Ansible](https://www.ansible.com/).\n\n### Ansible\n\nTo install ansible follow the commands below.  For more information, see the [Getting Ansible](http://docs.ansible.com/ansible/intro_installation.html#getting-ansible) section of the Ansible docs.\n\nThe easiest way to install ansible for Ubuntu or Mac OS X is:\n\n```\nsudo easy_install pip\nsudo pip install ansible\n```\n\nIf upgrading ansible, then do:\n\n```\nsudo pip install ansible --upgrade\n```\n\n### Vagrant / Virtual Box\n\nIf using [Vagrant](https://www.vagrantup.com/) and/or [Virtualbox](https://www.virtualbox.org/), see their relevant documentation\n\n### OSM Slack Bot\n\nAfter installing ansible and configuring your enviornment, simply clone this repo onto your control machine to get started, such as below.\n\n```\ngit clone https://github.com/osmlab/osm-slackbot-ansible.git osm-slackbot-ansible.git\n```\n\n## Usage\n\nFirst, create a `secret.yml` [YAML](https://en.wikipedia.org/wiki/YAML) file in the root project directory and add the auth token you got from Slack, which is currently found on Slack at \"Browse apps \u003e Custom Integrations \u003e Bots\"\n\n```\n---\n\nSLACK_AUTHTOKEN: \"XXXX\"\n```\n\nThis token will be automatically added to a local_settings.py file on provision.  The auth token is uniquely assigned to your Slack team, so no other team identifier is needed.\n\n**Stop words**\n\nYou can edit your stop words, in your all.yml file.\n\n### Vagrant\n\nTo launch a vagrant machine, simply do:\n\n```\n# cd into project directory\nvagrant up\n```\n\nIf re-provisioning, then do:\n\n```\nvagrant provision\n```\n\n### EC2\n\nFirst, create a `hosts` file in the project root directory.  The hosts file can be as simple as the public IP address of your ec2 machine.\n\n```\n##.##.##.##\n```\n\nLearn more about managing your inventory at http://docs.ansible.com/ansible/intro_inventory.html.  This hosts file will be referenced in the command below.\n\nRun the following command to provision your ec2 instance.  Be sure to replace `~/osm-slackbot-1.pem` below with the path to your actual key for the machine.\n\n```\n# cd into project directory\nansible-playbook --user=ubuntu --connection=ssh --timeout=30 --inventory-file=hosts -v --private-key=~/osm-slackbot-1.pem --extra-vars=@extra_vars/ec2.yml --extra-vars=@secret.yml ec2.yml\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmlab%2Fosm-slackbot-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosmlab%2Fosm-slackbot-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmlab%2Fosm-slackbot-ansible/lists"}