{"id":32524000,"url":"https://github.com/ucphhpc/ansible-docker-migrid","last_synced_at":"2026-05-19T14:02:33.148Z","repository":{"id":178265483,"uuid":"656654133","full_name":"ucphhpc/ansible-docker-migrid","owner":"ucphhpc","description":"A collection of tools for automating docker-migrid deployment on a physical or virtual machine with Ansible","archived":false,"fork":false,"pushed_at":"2026-05-05T10:16:20.000Z","size":208,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-05-05T12:19:30.542Z","etag":null,"topics":["ansible","docker","migrid"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ucphhpc.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-21T11:18:22.000Z","updated_at":"2026-05-05T10:15:24.000Z","dependencies_parsed_at":"2024-02-21T09:35:48.234Z","dependency_job_id":"47b40d20-a558-4013-bd2b-366061c181e9","html_url":"https://github.com/ucphhpc/ansible-docker-migrid","commit_stats":null,"previous_names":["ucphhpc/ansible-docker-migrid"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/ucphhpc/ansible-docker-migrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fansible-docker-migrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fansible-docker-migrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fansible-docker-migrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fansible-docker-migrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ucphhpc","download_url":"https://codeload.github.com/ucphhpc/ansible-docker-migrid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fansible-docker-migrid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33219376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"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":["ansible","docker","migrid"],"created_at":"2025-10-28T08:32:41.074Z","updated_at":"2026-05-19T14:02:33.142Z","avatar_url":"https://github.com/ucphhpc.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-docker-migrid\nA collection of tools for automating docker-migrid deployment on a physical or virtual machibe with ansible\n\n## Prerequisites\n\n* Install dependencies: `ansible-galaxy install -r requirements.yml`\n\n## Installation\n\nThis repo can be used as a collection. Use the following command to install it\n\n```\nansible-galaxy collection install https://github.com/ucphhpc/ansible-docker-migrid.git\n```\n\nor add it to your `requirements.yml` like this:\n\n```\ncollections:\n  - name: https://github.com/ucphhpc/ansible-docker-migrid.git\n    type: git\n    version: main\n```\n\n## Usage\n\nAfterwards the roles can be used like this:\n\n```\n  roles:\n    - ucphhpc.docker_migrid.setup_vars\n    - ucphhpc.docker_migrid.migrid_pre_check\n    ...\n```\n\nAnother way is to use collections in the playbook, like this example of start-migrid.yml:\n```\n- name: Start migrid\n  hosts:\n    - all\n  collections:\n    - ucphhpc.docker_migrid\n  gather_facts: true\n  become: true\n  roles:\n    - setup_vars\n    - startup_encrypt_state\n    - start_promtail\n    - start_containers    \n```\n\nTypical usage would be:\n\n* First run ```ansible-galaxy install -f -r requirements.yml```\n* Make sure system is stopped and mountpoints are unmounted: ```ansible-playbook -i inventory.yml -l host.example.com stop-migrid.yml```\n* Now run the installation: ```ansible-playbook --ask-vault-pass -i inventory.yml -l host.example.com install-migrid.yml```\n* Last start migrid: ```ansible-playbook --ask-vault-pass -i inventory.yml -l host.example.com start-migrid.yml```\n\nYou only need ```--ask-vault-pass``` option on start-migrid.yml if you use encrypted state directory.\n\nExample of a ansible.cfg:\n```\n[defaults]\ncollections_paths = ./collections/ansible_collections\n[ssh_connection]\npipelining = True\n```\n\n## Linting\n\nTo make the codebase clean, you can use `ansible-lint` to apply certain standards. A good example is using the `shared` profile.\n\n```\n# commit all previous changes in git to have a clean state\n\n# run ansible-lint and let it autochange all findings\nansible-lint --profile shared --write all\n\n# show changes\ngit diff\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucphhpc%2Fansible-docker-migrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucphhpc%2Fansible-docker-migrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucphhpc%2Fansible-docker-migrid/lists"}