{"id":18990930,"url":"https://github.com/datadrivers/ansible-playbook-nvidia_gpu_docker_demo","last_synced_at":"2026-05-01T12:32:02.286Z","repository":{"id":103176204,"uuid":"139484720","full_name":"datadrivers/ansible-playbook-nvidia_gpu_docker_demo","owner":"datadrivers","description":"Ansible Playbook Demo for Nvidia GPU supported Docker from www.datadrivers.de","archived":false,"fork":false,"pushed_at":"2018-07-10T18:57:30.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T05:13:18.675Z","etag":null,"topics":["ansible","ansible-demo","ansible-playbook","datadrivers-gmbh","docker","nvidia-docker"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/datadrivers.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}},"created_at":"2018-07-02T19:21:42.000Z","updated_at":"2018-11-06T15:11:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3586ce7-760e-4c82-a681-2f57686bd603","html_url":"https://github.com/datadrivers/ansible-playbook-nvidia_gpu_docker_demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datadrivers/ansible-playbook-nvidia_gpu_docker_demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fansible-playbook-nvidia_gpu_docker_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fansible-playbook-nvidia_gpu_docker_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fansible-playbook-nvidia_gpu_docker_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fansible-playbook-nvidia_gpu_docker_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datadrivers","download_url":"https://codeload.github.com/datadrivers/ansible-playbook-nvidia_gpu_docker_demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fansible-playbook-nvidia_gpu_docker_demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32497810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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","ansible-demo","ansible-playbook","datadrivers-gmbh","docker","nvidia-docker"],"created_at":"2024-11-08T17:12:10.080Z","updated_at":"2026-05-01T12:32:02.256Z","avatar_url":"https://github.com/datadrivers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Playbook Nvidia GPU Docker Demo\n\nThis playbook is to show off an easy method to install Docker with Nvidia GPU support on a supported linux host.\nThe playbook can run against a bare metal machine, virtual machine or cloud based machine. [Datadrivers GmbH](http://www.datadrivers.de \"Datadrivers GmbH\") is prefering to use it with an AWS EC2 instance from the P2-, P3- or G3-series.\n\n## Requirements\n\n* Ansible 2.1+\n* SSH access and sudo permissions (login user!)\n* target host with installed linux OS with systemd\n* for nvidia-docker usage: a host with a compatible Nvidia graphic card\n* Internet access to get the packages and gpg keys\n\n## Supported platforms\n\n* CentOS 7\n* RedHat 7\n\n## Usage\n\n### Preparations\n\n* open a terminal / console\n\n* git clone the repository on your system and switch into the directory\n\n* use ansible-galaxy to install the required role: `ansible-galaxy install -v -r requirements.yml`\n\n* edit the inventory file `inventory/hosts` to match the target server\n\n* edit the definition file for the role `group_vars/docker-host` to deactivate/activate Nvidia-GPU installation steps\n\n### Run the playbook\n\nPlease use instead of user `centos`, the right user to get SSH access and sudo permissions on the target system.\n\n* start the playbook run: `ansible-playbook demo.yml --user centos --diff -v`\n\n* If you install the Nvidia-docker2 parts, please reboot the target system after the completion!\n\n### Test the Docker environment\n\nLog onto the target system and try to start an example Nvidia CUDA container: `sudo docker run --rm nvidia/cuda nvidia-smi`\n\n## License\n\n* MIT license (check file `LICENSE` for more details)\n\n## Issue Tracker\n\nPlease use the [Github Repository Issue tracker](https://github.com/datadrivers/ansible-playbook-nvidia_gpu_docker_demo/issues) to report us bugs.\n\n## Contributions\n\nFeel free to clone the code, make a branch and to hack your stuff. After that make a pull request and we can check it. We are open for improvements.\n\n## Author Information\n\n* Markus Rekkenbeil - [(Datadrivers GmbH)](http://www.datadrivers.de \"Datadrivers GmbH\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadrivers%2Fansible-playbook-nvidia_gpu_docker_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadrivers%2Fansible-playbook-nvidia_gpu_docker_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadrivers%2Fansible-playbook-nvidia_gpu_docker_demo/lists"}