{"id":19204415,"url":"https://github.com/mmul-it/ansible","last_synced_at":"2025-05-12T15:45:51.130Z","repository":{"id":44160858,"uuid":"243236640","full_name":"mmul-it/ansible","owner":"mmul-it","description":"MMUL Ansible Roles","archived":false,"fork":false,"pushed_at":"2024-01-18T17:28:33.000Z","size":9336,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-20T14:42:51.249Z","etag":null,"topics":["ansible","graylog","kubernetes","mongodb"],"latest_commit_sha":null,"homepage":null,"language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmul-it.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null}},"created_at":"2020-02-26T10:35:33.000Z","updated_at":"2023-01-12T16:25:47.000Z","dependencies_parsed_at":"2024-01-18T18:44:39.025Z","dependency_job_id":"483cb26c-91b7-4598-a15c-0d53ff00d614","html_url":"https://github.com/mmul-it/ansible","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/mmul-it%2Fansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmul-it%2Fansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmul-it%2Fansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmul-it%2Fansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmul-it","download_url":"https://codeload.github.com/mmul-it/ansible/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253767650,"owners_count":21961151,"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","graylog","kubernetes","mongodb"],"created_at":"2024-11-09T13:07:51.859Z","updated_at":"2025-05-12T15:45:51.107Z","avatar_url":"https://github.com/mmul-it.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MMUL Ansible roles\n\nThis collection of roles can be used to implement various cloud native\nsolutions:\n\n* [Azure](roles/azure): automate tasks on Azure;\n* [Graylog](roles/graylog-server): a clustered Graylog/MongoDB/Elasticsearch\n  solution;\n* [MaxScale](roles/maxscale): a MariaDB MaxScale instance (suitable also for\n  Azure MaxScale);\n* [Redis](roles/redis): a Redis cluster implementation;\n\nA specific README will be (soon, if not present) available for each role.\n\n## Using the roles\n\nFor each of the role there is an Ansible plugin that will invoke everything that\nis needed to accomplish its scope.\n\n### Preparing the environment\n\nThe best way to run everything is by using Python virtual environments and\nAnsible Collections.\n\nFirst of all you need to clone this repository:\n\n```console\nuser@lab ~ # git clone https://github.com/mmul-it/ansible\nCloning into 'ansible'...\nremote: Enumerating objects: 2572, done.\nremote: Counting objects: 100% (449/449), done.\nremote: Compressing objects: 100% (199/199), done.\nremote: Total 2572 (delta 269), reused 363 (delta 222), pack-reused 2123\nReceiving objects: 100% (2572/2572), 9.10 MiB | 8.77 MiB/s, done.\nResolving deltas: 100% (1345/1345), done.\n```\n\nThen you will create your Python virtual environment:\n\n```console\nuser@lab ~ # python3 -m virtualenv ansible-env\nRunning virtualenv with interpreter /usr/bin/python2\nNew python executable in /root/ansible-env/bin/python2\nAlso creating executable in /root/ansible-env/bin/python\nInstalling setuptools, pkg_resources, pip, wheel...done.\n\n# source ansible-env/bin/activate\n(ansible-env) user@lab ~ #\n\n(ansible-env) user@lab ~ # python3 -m pip install --upgrade pip\n```\n\nAnd then you'll be ready to install the Python requirements:\n\n```console\n(ansible-env) user@lab ~ # pip3 install -r ansible/requirements.txt \nRequirement already satisfied: ansible in /usr/lib/python3.6/site-packages (from -r ansible/requirements.txt (line 1)) (2.10.7)\nRequirement already satisfied: ansible-vault in /usr/lib/python3.6/site-packages (from -r ansible/requirements.txt (line 2)) (1.2.0)\nRequirement already satisfied: azure-cli in /usr/lib/python3.6/site-packages (from -r ansible/requirements.txt (line 3)) (2.25.0)\n...\n...\nInstalling collected packages: rsa, cachetools, google-auth, kubernetes\nSuccessfully installed cachetools-4.2.4 google-auth-2.13.0 kubernetes-24.2.0 rsa-4.9\n```\n\nAnd finally the Ansible collections:\n\n```console\n(ansible-env) user@lab ~ # ansible-galaxy install -r ansible/collections/requirements.yml\nStarting galaxy collection install process\nProcess install dependency map\n...\n...\nkubernetes.core (2.3.2) was installed successfully\n```\n\nNow you should be ready to use `ansible-playbook` to execute the desired\n playbooks.\n\n### Launching the playbooks\n\nSupposing that you want to install a Kubernetes environment, you'll need to pass\nan inventory (we will rely on `lab`) like this:\n\n```console\n$ ansible-playbook \\\n  -i $HOME/ansible/inventory/lab \\\n  $HOME/ansible/kubernetes.yml\n```\n\n## Authors\n\nThis project was created and is maintained by\n[Raoul Scarazzini](https://github.com/rascasoft) and has contributions from\nother users. Thanks to everyone who will contribute in the future, you're more\nthan welcome!\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmul-it%2Fansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmul-it%2Fansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmul-it%2Fansible/lists"}