{"id":19646184,"url":"https://github.com/yoctol/ansible-docker-redis","last_synced_at":"2026-04-10T07:03:01.217Z","repository":{"id":69890818,"uuid":"58905709","full_name":"Yoctol/ansible-docker-redis","owner":"Yoctol","description":"An ansible role to run redis docker container.","archived":false,"fork":false,"pushed_at":"2018-03-02T17:36:19.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-01-09T21:33:09.903Z","etag":null,"topics":["ansible","ansible-roles","docker","docker-container","redis"],"latest_commit_sha":null,"homepage":null,"language":null,"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/Yoctol.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":"2016-05-16T05:20:30.000Z","updated_at":"2016-05-16T05:20:30.000Z","dependencies_parsed_at":"2023-04-04T22:47:20.103Z","dependency_job_id":null,"html_url":"https://github.com/Yoctol/ansible-docker-redis","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoctol%2Fansible-docker-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoctol%2Fansible-docker-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoctol%2Fansible-docker-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoctol%2Fansible-docker-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yoctol","download_url":"https://codeload.github.com/Yoctol/ansible-docker-redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240953491,"owners_count":19884024,"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","ansible-roles","docker","docker-container","redis"],"created_at":"2024-11-11T14:37:12.202Z","updated_at":"2025-12-31T01:12:56.644Z","avatar_url":"https://github.com/Yoctol.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Role Name\n=========\n\nDocker container running redis.\n\nRequirements\n------------\n\n- python \u003e= 2.6\n- docker-py \u003e= 1.7.0\n- Docker API \u003e= 1.20\n- Ansible \u003e= 2.2\n\nRole Variables\n--------------\n\n```yaml\n---\n# Optional, the redis docker image tag name to use. Default 'latest'.\nredis_docker_tag: ''\n\n# Optional, whether to use a separate container to store redis data files.\nuse_backup_container: true\n\n# Optional, the container name to store data. Default 'redis-backup'.\nbackup_container_name: redis-backup\n\n# Optional, the container name which running redis. Default 'redis'.\nredis_container_name: redis\n\n# Optional, the port to expose redis to the host.\n# Default not expose redis to the host.\nexpose_host_port: 0\n\n```\n\nDependencies\n------------\n\n\nExample Playbook\n----------------\n\n    - hosts: servers\n      roles:\n         - role: ansible-docker-redis\n           use_datastore_container: true\n           datastore_container_name: dbstore\n           postgres_container_name: postgres\n           expose_host_port: 5432\n           postgres_docker_tag: 9.5\n           postgres_docker_env:\n             POSTGRES_PASSWORD: pg_admin_pw\n             POSTGRES_USER: pg_admin_user\n             PGDATA: /var/lib/postgresql/data/pgdata\n             POSTGRES_DB: pg_default_db\n             POSTGRES_INITDB_ARGS: \"--data-checksums\"\n\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\nYoctolInfo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoctol%2Fansible-docker-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoctol%2Fansible-docker-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoctol%2Fansible-docker-redis/lists"}