clouddrove.ansible_role_docker_redis
<!-- このファイルは `geine` によって自動生成されました。すべての変更は `README.yaml` に行い、`make readme` を実行してこのファイルを再構築してください。 -->
<p align="center"> <img src="https://user-images.githubusercontent.com/50652676/62451340-ba925480-b78b-11e9-99f0-13a8a9cc0afa.png" width="100" height="100"></p>
<h1 align="center">
Ansible Role Docker Redis
</h1>
<p align="center" style="font-size: 1.2rem;">
この Ansible ロールは、Linux 上で Docker を使用して Redis サーバーをセットアップするために使用されます。
</p>
<p align="center">
<a href="https://www.ansible.com">
<img src="https://img.shields.io/badge/Ansible-2.9-green?style=flat&logo=ansible" alt="Ansible">
</a>
<a href="LICENSE.md">
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="ライセンス">
</a>
<a href="https://ubuntu.com/">
<img src="https://img.shields.io/badge/ubuntu-18.x-orange?style=flat&logo=ubuntu" alt="配布版">
</a>
<a href="https://ubuntu.com/">
<img src="https://img.shields.io/badge/ubuntu-20.x-orange?style=flat&logo=ubuntu" alt="配布版">
</a>
<a href="https://www.centos.org/">
<img src="https://img.shields.io/badge/CentOS-8-green?style=flat&logo=centos" alt="配布版">
</a>
<a href="https://aws.amazon.com/amazon-linux-ami/">
<img src="https://img.shields.io/badge/Amazon_linux-2-yellow?style=flat&logo=linux" alt="配布版">
</a>
<a href="https://github.com/clouddrove/ansible-role-docker-redis/actions/workflows/lint.yml">
<img src="https://github.com/clouddrove/ansible-role-docker-redis/actions/workflows/lint.yml/badge.svg" alt="アクション">
</a>
</p>
<p align="center">
<a href='https://facebook.com/sharer/sharer.php?u=https://github.com/clouddrove/ansible-role-docker-redis'>
<img title="Facebook で共有" src="https://user-images.githubusercontent.com/50652676/62817743-4f64cb80-bb59-11e9-90c7-b057252ded50.png" />
</a>
<a href='https://www.linkedin.com/shareArticle?mini=true&title=Ansible+Role+Docker+Redis&url=https://github.com/clouddrove/ansible-role-docker-redis'>
<img title="LinkedIn で共有" src="https://user-images.githubusercontent.com/50652676/62817742-4e339e80-bb59-11e9-87b9-a1f68cae1049.png" />
</a>
<a href='https://twitter.com/intent/tweet/?text=Ansible+Role+Docker+Redis&url=https://github.com/clouddrove/ansible-role-docker-redis'>
<img title="Twitter で共有" src="https://user-images.githubusercontent.com/50652676/62817740-4c69db00-bb59-11e9-8a79-3580fbbf6d5c.png" />
</a>
</p>
<hr>
私たちは、 **DevOps** を愛して、食べ、飲み、眠ります。DevOps は常に自動化と標準化を促進します。ローカル、開発、テスト、運用などのさまざまな環境を設定する際、一貫した環境を維持することが重要です。これは、Ansible プレイブックを使用して環境のセットアップとインストールを自動化することで簡単に達成できます。
各環境要素に対して小さなロールが作成され、タスクやテストも含まれます。これらのロールは、[ansible-playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html) でグループ化して、一貫した結果を得ることができます。
## 前提条件
このモジュールにはいくつかの依存関係があります。
- [Ansible2.9](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
- [Python](https://www.python.org/downloads)
- [Docker](https://docs.docker.com/install/linux/docker-ce/ubuntu)
## 含まれるもの
このロールには以下が含まれます。
- redis-cli
- redis-server
## 例のプレイブック
**重要:** `source` で使用される `master` ブランチは新しい修正に応じて変わるため、[ここ](https://github.com/clouddrove/ansible-role-docker-redis/releases)のリリースバージョンを使用することをお勧めします。
```yaml
- hosts: localhost
remote_user: root
become: true
roles:
- clouddrove.ansible_role_docker_redis
変数
redis_version: "6.2"
redis_user: redis
redis_group: redis
mount_path: /data
redis_server_opt_dir: "/opt/redis-server"
redis_server_config_dir: "{{ redis_server_opt_dir }}/config"
redis_server_log_dir: "/var/log/redis"
redis_server_data_dir: "{{ mount_path }}/redis-server"
redis_server_bind: 0.0.0.0
redis_server_port: 6379
redis_server_password: false
redis_server_min_slaves_to_write: 0
redis_server_min_slaves_max_lag: 10
redis_server_tcp_backlog: 10000
redis_server_tcp_keepalive: 20
redis_server_maxclients: 30000
redis_server_timeout: 0
redis_server_slaveof: false
redis_server_slave_read_only: "yes"
redis_server_slave_priority: 100
redis_server_repl_backlog_size: false
redis_server_dir: /var/lib/redis
redis_server_logfile: '"/var/log/redis/redis-server.log"'
redis_server_databases: 16
redis_server_loglevel: notice
redis_server_slowlog_log_slower_than: 10000
redis_server_slowlog_max_len: 128
redis_server_maxmemory: false
redis_server_maxmemory_policy: noeviction
redis_server_rename_commands: []
redis_server_save:
- 900 1
- 300 10
- 60 10000
redis_server_stop_writes_on_bgsave_error: "yes"
redis_server_rdbcompression: "yes"
redis_server_rdbchecksum: "yes"
redis_server_appendonly: "no"
redis_server_appendfilename: "appendonly.aof"
redis_server_appendfsync: "everysec"
redis_server_no_appendfsync_on_rewrite: "no"
redis_server_auto_aof_rewrite_percentage: "100"
redis_server_auto_aof_rewrite_min_size: "64mb"
redis_server_notify_keyspace_events: '""'
インストール
$ ansible-galaxy install clouddrove.ansible_role_docker_redis
フィードバック
バグが見つかったり、フィードバックがある場合は、私たちの問題トラッカーにログを記録するか、[email protected]までメールを送ってください。
もしこの内容があなたにとって価値があったなら、GitHubに★を付けてください!
私たちについて
CloudDroveでは、組織がクラウドへの移行を加速するために、専門的なガイダンス、実装サポート、サービスを提供しています。私たちのサービスには、Dockerとコンテナオーケストレーション、クラウド移行と導入、インフラストラクチャの自動化、アプリケーションのモダナイゼーションと是正、パフォーマンスエンジニアリングが含まれます。
私たちはクラウドの専門家です!
私たちは❤️ オープンソースを愛しており、あなたは私たちの他のモジュールをチェックして新しいクラウドアイデアについて助けを得ることができます。
```
プロジェクトについて
This ansible role is used to setup Redis server with docker on linux.
インストール
ansible-galaxy install clouddrove.ansible_role_docker_redis
ライセンス
mit
ダウンロード
135
所有者
Design, deployment, and management partner for your cloud