diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 452b1cd..446f25e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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)$ diff --git a/LICENSE b/LICENSE index 342f610..55beef5 100644 --- a/LICENSE +++ b/LICENSE @@ -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. \ No newline at end of file +SOFTWARE. diff --git a/Makefile b/Makefile index d9e69c6..f0eef15 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,3 @@ export GENIE_PATH ?= $(shell 'pwd')/../../../genie -include $(GENIE_PATH)/Makefile \ No newline at end of file +include $(GENIE_PATH)/Makefile diff --git a/README.md b/README.md index bec5ff1..67f7528 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Ansible Role Docker Redis -
+
This ansible role is used to setup Redis server with docker on linux.
@@ -54,7 +54,7 @@ -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. @@ -62,7 +62,7 @@ Smaller roles are created for each environment elements; which also include task ## 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) @@ -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)! diff --git a/templates/config/redis_server.conf b/templates/config/redis_server.conf index 8ed999d..ab45590 100644 --- a/templates/config/redis_server.conf +++ b/templates/config/redis_server.conf @@ -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 \ No newline at end of file +aof-rewrite-incremental-fsync yes diff --git a/templates/redis b/templates/redis index dd51023..4367e8a 100755 --- a/templates/redis +++ b/templates/redis @@ -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 \ No newline at end of file + redis:"{{ redis_version }}" redis-server /etc/redis-server/redis_server.conf diff --git a/templates/redis.service b/templates/redis.service index 86e1d8b..f3f0bce 100644 --- a/templates/redis.service +++ b/templates/redis.service @@ -6,4 +6,4 @@ TimeoutStartSec=0 Restart=always ExecStart=/usr/local/bin/redis [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target