{"id":19583799,"url":"https://github.com/bodsch/ansible-redis","last_synced_at":"2025-07-22T20:04:39.327Z","repository":{"id":47006924,"uuid":"347851181","full_name":"bodsch/ansible-redis","owner":"bodsch","description":"Install and configure a redis server, redis-cluster or redis-sentinel.","archived":false,"fork":false,"pushed_at":"2025-03-30T11:20:08.000Z","size":133,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-27T10:42:38.465Z","etag":null,"topics":["ansible","ansible-role","automation","redis","redis-cluster","redis-sentinel","redis-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bodsch.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":"2021-03-15T05:45:32.000Z","updated_at":"2025-03-30T11:20:11.000Z","dependencies_parsed_at":"2023-01-30T20:30:45.009Z","dependency_job_id":"c777db9d-3450-469f-9f14-a9e065cbae6d","html_url":"https://github.com/bodsch/ansible-redis","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/bodsch/ansible-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodsch","download_url":"https://codeload.github.com/bodsch/ansible-redis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-redis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266563915,"owners_count":23948689,"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-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-role","automation","redis","redis-cluster","redis-sentinel","redis-server"],"created_at":"2024-11-11T07:44:50.431Z","updated_at":"2025-07-22T20:04:39.305Z","avatar_url":"https://github.com/bodsch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Ansible Role:  `redis`\n\nInstall and configure a *redis  .\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/bodsch/ansible-redis/main.yml?branch=main)][ci]\n[![GitHub issues](https://img.shields.io/github/issues/bodsch/ansible-redis)][issues]\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/bodsch/ansible-redis)][releases]\n[![Ansible Downloads](https://img.shields.io/ansible/role/d/bodsch/redis?logo=ansible)][galaxy]\n\n[ci]: https://github.com/bodsch/ansible-redis/actions\n[issues]: https://github.com/bodsch/ansible-redis/issues?q=is%3Aopen+is%3Aissue\n[releases]: https://github.com/bodsch/ansible-redis/releases\n[galaxy]: https://galaxy.ansible.com/ui/standalone/roles/bodsch/redis/\n\n## Requirements \u0026 Dependencies\n\nAnsible Collections\n\n- [bodsch.core](https://github.com/bodsch/ansible-collection-core)\n\n```bash\nansible-galaxy collection install bodsch.core\n```\nor\n```bash\nansible-galaxy collection install --requirements-file collections.yml\n```\n\n\n## tested operating systems\n\nTested on\n\n* ArchLinux\n* ArtixLinux\n* Debian based\n    - Debian 11\n    - Ubuntu 20.04\n\n## usage\n\n### default configuration\n\nsee [defaults/main.yml](defaults/main.yml)\n\n```yaml\nredis_include_path: /etc/redis.d\nredis_data_dir: /var/lib/redis\n\n# general\nredis_general:\n  loglevel: notice\n  logfile: /var/log/redis/redis-server.log\n  databases: 16\n  show_logo: true\n  daemonize: true\n  supervised: auto\n\n# append_only\nredis_append:\n  only: false\n  filename: appendonly.aof\n  fsync: everysec\n\n# memory_management\nredis_memory:\n  maxmemory: 0\n  maxmemory_policy: noeviction\n  maxmemory_samples: 5\n  replica_ignore_maxmemory: true\n\n# network\nredis_network:\n  bind:\n    - 127.0.0.1\n  port: 6379\n  tcp_backlog: 511\n  unixsocket: ''\n  unixsocket_perm: 0700\n  timeout: 300\n  tcp_keepalive: 300\n\n# replication\nredis_replication:\n  master_ip: \"\"\n  master_port: 6379\n\n# security\nredis_security:\n  requirepass: \"\"\n  rename_commands: {}\n\n# snapshotting\nredis_snapshot:\n  # Set to an empty set to disable persistence (saving the DB to disk).\n  save:\n    - 900 1\n    - 300 10\n    - 60 10000\n  dbfilename: dump.rdb\n  rdbcompression: false\n  dbdir: \"{{ redis_data_dir }}\"\n\nredis_sentinel:\n  enabled: false\n  state: started\n  bind: \"127.0.0.1\"\n  port: 26379\n  protected_mode: false\n  daemonize: false\n  logfile: /var/log/redis/redis-sentinel.log\n  cluster_name: redis_cluster\n  master: ''\n  announce_ip: ''\n```\n\n---\n\n## Author\n\n- Bodo Schulz\n\n## License\n\n[Apache](LICENSE)\n\n**FREE SOFTWARE, HELL YEAH!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodsch%2Fansible-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodsch%2Fansible-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodsch%2Fansible-redis/lists"}