Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v3.4.0
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -15,7 +15,7 @@ repos:
- id: check-added-large-files

- repo: https://github.com/ansible/ansible-lint.git
rev: v5.0.8
rev: v24.9.2
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export GENIE_PATH ?= $(shell 'pwd')/../../../genie

include $(GENIE_PATH)/Makefile
include $(GENIE_PATH)/Makefile
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Ansible Role Docker Redis
</h1>

<p align="center" style="font-size: 1.2rem;">
<p align="center" style="font-size: 1.2rem;">
This ansible role is used to setup Redis server with docker on linux.
</p>

Expand Down Expand Up @@ -54,15 +54,15 @@



We eat, drink, sleep and most importantly love **DevOps**. DevOps always promotes automation and standardisation. While setting up various environments like local, dev, testing, production, etc. it is critical to maintain the same environment across. This can easily be achieved using automating the environment setup & installation with the help of ansible-playbooks.
We eat, drink, sleep and most importantly love **DevOps**. DevOps always promotes automation and standardisation. While setting up various environments like local, dev, testing, production, etc. it is critical to maintain the same environment across. This can easily be achieved using automating the environment setup & installation with the help of ansible-playbooks.

Smaller roles are created for each environment elements; which also include tasks & tests. These roles can then be grouped together in [ansible-playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html) to achieve the desired yet consistent results.



## Prerequisites

This module has a few dependencies:
This module has a few dependencies:

- [Ansible2.9](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
- [Python](https://www.python.org/downloads)
Expand Down Expand Up @@ -159,7 +159,7 @@ Following things includes in this role:



## Feedback
## Feedback
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/ansible-role-docker-redis/issues), or feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com).

If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/ansible-role-docker-redis)!
Expand Down
2 changes: 1 addition & 1 deletion templates/config/redis_server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ client-output-buffer-limit normal 0 0 0
client-output-buffer-limit slave 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes
aof-rewrite-incremental-fsync yes
2 changes: 1 addition & 1 deletion templates/redis
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ docker run -u root --net=host --rm --name=redis \
-v {{ redis_server_data_dir }}:/var/lib/redis:rw \
-v {{ redis_server_data_dir }}:/data:rw \
-v {{ redis_server_config_dir }}:/etc/redis-server:rw \
redis:"{{ redis_version }}" redis-server /etc/redis-server/redis_server.conf
redis:"{{ redis_version }}" redis-server /etc/redis-server/redis_server.conf
2 changes: 1 addition & 1 deletion templates/redis.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ TimeoutStartSec=0
Restart=always
ExecStart=/usr/local/bin/redis
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target
Loading