{"id":29771636,"url":"https://github.com/jaxzin/docker-dsm7-ansible","last_synced_at":"2026-04-09T17:47:58.840Z","repository":{"id":306691317,"uuid":"1026949488","full_name":"jaxzin/docker-dsm7-ansible","owner":"jaxzin","description":"A container image that can be used as a base for testing Ansible roles with Molecule destined for a Synology NAS running DSM 7.","archived":false,"fork":false,"pushed_at":"2025-07-27T02:27:17.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-27T04:42:25.068Z","etag":null,"topics":["ansible","docker","docker-image","molecule","synology","synology-dsm"],"latest_commit_sha":null,"homepage":"","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/jaxzin.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":"2025-07-27T01:22:07.000Z","updated_at":"2025-07-27T02:27:20.000Z","dependencies_parsed_at":"2025-07-27T04:42:32.318Z","dependency_job_id":"8cabf31a-c889-4063-bfb7-e53a0241dd3b","html_url":"https://github.com/jaxzin/docker-dsm7-ansible","commit_stats":null,"previous_names":["jaxzin/docker-dsm7-ansible"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jaxzin/docker-dsm7-ansible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxzin%2Fdocker-dsm7-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxzin%2Fdocker-dsm7-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxzin%2Fdocker-dsm7-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxzin%2Fdocker-dsm7-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaxzin","download_url":"https://codeload.github.com/jaxzin/docker-dsm7-ansible/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxzin%2Fdocker-dsm7-ansible/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267320244,"owners_count":24068525,"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-07-27T02:00:11.917Z","response_time":82,"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","docker","docker-image","molecule","synology","synology-dsm"],"created_at":"2025-07-27T07:00:36.067Z","updated_at":"2025-12-30T21:51:09.648Z","avatar_url":"https://github.com/jaxzin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Synology DSM 7 Container Image for Ansible Molecule Testing\n\n[![Build \u0026 Publish Docker Image](https://github.com/jaxzin/docker-dsm7-ansible/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/jaxzin/docker-dsm7-ansible/actions/workflows/docker-publish.yml)\n\nA Docker image for running Ansible Molecule tests, tailored for roles targeting Synology DSM 7.2.\n\nThis image provides an environment that mimics a Synology NAS running DSM 7.2, allowing you to test your Ansible roles \nin a containerized environment before deploying them to a real Synology device.\n\n## Key Features\n\n*   **DSM 7.2 Environment Parity:** Based on Ubuntu 20.04, with packages and versions carefully selected to match those found in Synology DSM 7.2.\n*   **Python 2.7 \u0026 3.10:** Includes both Python 2.7 and Python 3.10, reflecting the Python environments available on DSM.\n*   **Stubbed Synology Commands:** Includes stubbed versions of `synoservice`, `synopkg`, and `synosystemctl` to allow roles that use these commands to run without errors.\n*   **Pre-installed Ansible:** Comes with Ansible pre-installed, ready for use with Molecule.\n\n## Usage\n\nThis image is intended to be used as a platform in your `molecule.yml` file.\n\n### Molecule Configuration\n\nHere is an example of how to use this image as a platform in your `molecule.yml` file with the Docker driver:\n\n```yaml\n---\ndependency:\n  name: galaxy\ndriver:\n  name: docker\nplatforms:\n  - name: instance\n    image: ghcr.io/jaxzin/docker-dsm7-ansible:latest\n    pre_build_image: true\nprovisioner:\n  name: ansible\nverifier:\n  name: ansible\n```\n\n### Pulling the Image\n\nYou can also pull the image directly from the GitHub Container Registry:\n\n```sh\ndocker pull ghcr.io/jaxzin/docker-dsm7-ansible:latest\n```\n\n## Fingerprinting\n\nThe `fingerprinting` directory contains scripts and Molecule tests used to compare the environment of this Docker image with a real Synology DSM 7.2 installation. This helps to ensure that the Docker environment is as accurate as possible.\n\nHere is a snippet of the fingerprint output from the container:\n\n```\n=== OS Identification ===\nmajorversion=\"7\"\nminorversion=\"2\"\nproductversion=\"7.2.2\"\netc_issue=Ubuntu 20.04.6 LTS \\n \\l\n\n=== Python Versions ===\npython: Python 3.10.18\npython2: Python 2.7.18\npython3: Python 3.10.18\n\n=== Package Managers ===\nsynopkg: present\nsynoservice: present\nsynosystemctl: present\ndpkg: present\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxzin%2Fdocker-dsm7-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaxzin%2Fdocker-dsm7-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxzin%2Fdocker-dsm7-ansible/lists"}