{"id":23854939,"url":"https://github.com/aventer-ug/ansible-mesos-stack","last_synced_at":"2025-09-08T02:31:04.046Z","repository":{"id":40405145,"uuid":"199431716","full_name":"AVENTER-UG/ansible-mesos-stack","owner":"AVENTER-UG","description":"ansible playbook to install a whole mesos-stack","archived":false,"fork":false,"pushed_at":"2025-01-24T14:28:03.000Z","size":100758,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T13:53:08.346Z","etag":null,"topics":["ansible","apache","docker","marathon","mesos","mesosphere","ucp"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AVENTER-UG.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["AVENTER-UG"],"liberapay":"mesos"}},"created_at":"2019-07-29T10:31:05.000Z","updated_at":"2025-01-24T14:28:07.000Z","dependencies_parsed_at":"2025-01-24T15:23:24.799Z","dependency_job_id":null,"html_url":"https://github.com/AVENTER-UG/ansible-mesos-stack","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/AVENTER-UG/ansible-mesos-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AVENTER-UG%2Fansible-mesos-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AVENTER-UG%2Fansible-mesos-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AVENTER-UG%2Fansible-mesos-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AVENTER-UG%2Fansible-mesos-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AVENTER-UG","download_url":"https://codeload.github.com/AVENTER-UG/ansible-mesos-stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AVENTER-UG%2Fansible-mesos-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274122948,"owners_count":25226021,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ansible","apache","docker","marathon","mesos","mesosphere","ucp"],"created_at":"2025-01-03T00:19:09.558Z","updated_at":"2025-09-08T02:31:03.747Z","avatar_url":"https://github.com/AVENTER-UG.png","language":"Jinja","funding_links":["https://github.com/sponsors/AVENTER-UG","https://liberapay.com/mesos"],"categories":[],"sub_categories":[],"readme":"# Ansible Playbook to install a complete Apache Mesos stack\n\n\n[![Donate](https://img.shields.io/liberapay/receives/AVENTER.svg?logo=liberapay)](https://liberapay.com/mesos)\n[![Support Chat](https://img.shields.io/static/v1?label=Chat\u0026message=Support\u0026color=brightgreen)](https://riot.im/app/#/room/#support:matrix.aventer.biz)\n\nThis playbook deploys a full Apache Mesos stack. The access to mesos (agent and master) need credentials. The default one is \"marathon:marathon\".\n\n## Requirements\n\n- CentOS 7 (deprecated) or Debian/Ubuntu:[focal|jammy]\n- Ansible Galaxy collection: community.general\n- Ansible version:\n\n```\n$ ansible --version\n\nansible [core 2.14.2]\n  python version = 3.10.9 (main, Dec  6 2022, 18:44:57)\n  jinja version = 3.1.2\n  libyaml = True\n```\n\n## Informations\n\n- These playbook will install cronjobs to cleanup unused docker images, containers\nand local volumes. To besure that local volumes will not be deleted, add a tag \ncalled \"mesos\" as label. As example: \n\n\n```bash\ndocker volume create --label tag=mesos volumename\n```\n\n- These playbook will not restart services. If you apply new configuration and want to restart the service, \n  use the tag \"restart\"\n\n\n## How to use\n\n### Install the whole stack\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml\n```\n\n### Skip installation, only configure the whole stack\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml --skip-tags install\n```\n\n###  Update Mesos, Docker, Zookeeper and Mesos-DNS\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml --tags update\n```\n\n###  Restart all daemons\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml --tags restart\n```\n\n### Reconfigure DNS\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml --tags dns\n```\n\n### Reconfigure Worker\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml --tags worker\n```\n\n### Reconfigure Manager\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml --tags manager\n```\n\n### Reconfigure Mesos Plugins\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml --tags plugin\n```\n\n### Reconfigure SSL\n\n```bash\nansible-playbook -i ../inventory/inventory/mesos plays/server-config.yaml --tags ssl\n```\n\n\n## Manager node\n\n\n| Software version   | Role                              | Install type                       |\n| ------------------ | :-------------------------------: | :--------------------------------: |\n| Mesos 1.11.0-0.3.0 | Mesos Masters                     | RPM/DEB                            |\n| Zookeeper 3.8.1    | Zookeeper cluster                 | RPM/DEB                            |\n| Mesos-DNS 0.9.0    | Service Discovery for Mesos Tasks | RPM/DEB                            |\n\n## Worker node\n\n| Software version   | Role                              | Install type |\n| ------------------ | :-------------------------------: | :----------: |\n| Mesos 1.11.0-0.3.0 | Mesos Agent                       | RPM/DEB      |\n| Docker CE latest   | Docker engine                     | RPM/DEB      |\n| DNSMasq 2          | Container DNS                     | RPM/DEB      |\n\n## Persistent Storage\n\nFor persistent container storage, we recomend to use our \n[ansible-docker-volume playbook](https://github.com/AVENTER-UG/ansible-docker-volume)\nto deploy S3 docker-plugins as systemd service.\n\n# Troubleshooting\n\n\n## Missing ping between containers\n\nIf weave cannot ping between containers at different hosts, you have to change the following configuration:\n\n```bash\nsysctl net.bridge.bridge-nf-call-iptables=0\n```\n\nDo not forget to make it persistent. \n\n## To many open files\n\nIf you get the error message \"To many open files\" but file-max looks fine, then it could be helpful to resize max user instances:\n\n\n```bash\nsysctl fs.inotify.max_user_instances=8192\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faventer-ug%2Fansible-mesos-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faventer-ug%2Fansible-mesos-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faventer-ug%2Fansible-mesos-stack/lists"}