{"id":21748850,"url":"https://github.com/bryanl/ansible-playground","last_synced_at":"2025-03-21T02:27:33.320Z","repository":{"id":21002946,"uuid":"24293515","full_name":"bryanl/ansible-playground","owner":"bryanl","description":null,"archived":false,"fork":false,"pushed_at":"2014-09-25T14:29:35.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T23:02:34.426Z","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/bryanl.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-21T14:44:58.000Z","updated_at":"2014-09-21T15:21:22.000Z","dependencies_parsed_at":"2022-07-31T05:48:07.956Z","dependency_job_id":null,"html_url":"https://github.com/bryanl/ansible-playground","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/bryanl%2Fansible-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanl%2Fansible-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanl%2Fansible-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanl%2Fansible-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryanl","download_url":"https://codeload.github.com/bryanl/ansible-playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244724457,"owners_count":20499439,"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-26T08:15:34.734Z","updated_at":"2025-03-21T02:27:33.300Z","avatar_url":"https://github.com/bryanl.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible playground\n\nThis is a playground for exploring ansible constructs\n\n## Setup\n\n### Configuring hosts\n\nAdd inventory configurations to the `hosts` file. There is an example file in the repository.\n\n```ini\nlocalhost ansible_connection=local\n\n[webservers]\nweb01.prod.example.com\n\n[utilservers]\nutil01.prod.example.com\n\n[servers:children]\nwebservers\nutilservers\n```\n\n## Provisioning hosts\n\nThe goal of this set of tasks is bring up new Digital Ocean Droplets.\n\n`ansible-playbook provision.yml -i ./hosts -u root --private-key ~/.ssh/id_rsa -e \"group=servers domain=example.com`\n\nThis will provision the two servers defined in the inventory file `hosts` and configure DNS using Dnsimple. The `domain` key is used to determine the DNS domain to update.\n\n## Terminating hosts\n\nThe goal of this set of tasks is to shutdown servers that were configured before. \n\n`ansible-playbook terminate.yml -i ./hosts`\n\n## Installing Mesos\n\nThe goal of this set of tasks is to install mesos. It'll configure `mesos-master` on master nodes and `mesos-slave` on minion nodes.\n\n`ansible-playbook mesos.yml -i ./hosts -u root`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanl%2Fansible-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryanl%2Fansible-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanl%2Fansible-playground/lists"}