From 2a53a9778d87e6f525c6cf4f23052f1f3d35911e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 13 Feb 2024 23:09:37 +0100 Subject: feat(roles/redis): add redis role --- roles/redis/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 roles/redis/tasks/main.yml (limited to 'roles/redis') diff --git a/roles/redis/tasks/main.yml b/roles/redis/tasks/main.yml new file mode 100644 index 0000000..da4bdec --- /dev/null +++ b/roles/redis/tasks/main.yml @@ -0,0 +1,12 @@ +--- + +- name: install redis + ansible.builtin.package: + name: redis + state: present + +- name: enable and start redis + ansible.builtin.service: + name: redis + state: started + enabled: true -- cgit v1.2.3