{"id":18299744,"url":"https://github.com/containersolutions/dcos-ansible-packet","last_synced_at":"2025-07-13T10:33:04.607Z","repository":{"id":87117949,"uuid":"96184649","full_name":"ContainerSolutions/dcos-ansible-packet","owner":"ContainerSolutions","description":"Ansible playbook for installing DC/OS on Packet cloud","archived":false,"fork":false,"pushed_at":"2018-03-05T13:15:02.000Z","size":59,"stargazers_count":4,"open_issues_count":10,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T13:39:26.024Z","etag":null,"topics":["ansible","dcos","packet"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ContainerSolutions.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-04T06:46:28.000Z","updated_at":"2018-04-07T07:21:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"eead708c-0455-4254-8807-6ed84693d5f8","html_url":"https://github.com/ContainerSolutions/dcos-ansible-packet","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ContainerSolutions/dcos-ansible-packet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdcos-ansible-packet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdcos-ansible-packet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdcos-ansible-packet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdcos-ansible-packet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ContainerSolutions","download_url":"https://codeload.github.com/ContainerSolutions/dcos-ansible-packet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdcos-ansible-packet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265128202,"owners_count":23715621,"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":["ansible","dcos","packet"],"created_at":"2024-11-05T15:10:13.846Z","updated_at":"2025-07-13T10:33:04.570Z","avatar_url":"https://github.com/ContainerSolutions.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DC/OS Ansible Packet\n\nAnsible playbook for setting up a single master DC/OS cluster on Packet Cloud. The cluster will consists of nodes with bootstrap, master, public agent and agent roles.\n\n## Contact\n\nFrank Scholten [@Frank_Scholten](https://twitter.com/Frank_Scholten)\n\n## Prerequisites\n\n* Run `ansible-galaxy install -r requirements.yml` to install the Ansible dependencies.\n\n* Create 5 machines or cloud instances, 1 bootstrap, 1 master, 1 public agent and one more agents.\n\n* Add their hostnames and IPs to `/etc/hosts`\n\n* Edit the example `inventory` file. See the example below.\n\n* SSH into the nodes so your pub key is authorized and Ansible SSH works\n\n* Test connectivity with `ansible -i inventory -m ping all`\n\n## Example inventory file\n\nUse the example inventory file and set the IP addresses.\n\n```\n[bootstrap]\n\nbootstrap ansible_ssh_host=1.1.1.1 ansible_user=root\n\n[masters]\n\nmaster ansible_ssh_host=2.2.2.2 ansible_user=root\n\n[agents]\n\nagent1 ansible_ssh_host=3.3.3.3 ansible_user=root\nagent2 ansible_ssh_host=4.4.4.4 ansible_user=root\n\n[pubagents]\n\nagent3 ansible_ssh_host=5.5.5.5 ansible_user=root\n```\n\n## How to deploy\n\n```$ ansible-playbook -i inventory playbook.yml```\n\nAfter the cluster is installed the bootstrap node can be removed to save costs.\n\n## How to update the firewall\n\nAdd an IP to `local_ips` list in `vars.yaml.example` and run\n\n```$ ansible-playbook -i inventory playbook.yml -t firewall```\n\nThis will update the ipset rules. To learn more about the firewall read this [blog post](http://container-solutions.com/how-to-secure-dcos-packet-cluster-ip-whitelisting-ipset/)\n\n## Testing\n\nA Vagrant environment is available for local testing of setups.\n\nRequirements:\n\n- Vagrant + Virtualbox\n- 'vagrant-reload' plugin (https://github.com/aidanns/vagrant-reload)\n\nA sample vars file is available under `tests/vars.yaml.sample`, which should be copied \nto the project root folder as `vars.yaml` and adapted as necessary (particularly `local_ips`).\n\nVM hosts (and respective static IP addresses) are defined in the `tests/vagrant-hosts.yml` YAML file.\n\nTo provision the testing environment execute `$ vagrant up` in the project root.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fdcos-ansible-packet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontainersolutions%2Fdcos-ansible-packet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fdcos-ansible-packet/lists"}