diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-02-13 23:09:37 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-02-13 23:16:09 +0100 |
commit | 2a53a9778d87e6f525c6cf4f23052f1f3d35911e (patch) | |
tree | db738594af66a3008f79d010ec975e07d3fb73dc | |
parent | 479efa19547bf710e0113b08bc6165b66d1b7980 (diff) | |
download | rules-2a53a9778d87e6f525c6cf4f23052f1f3d35911e.tar.gz |
feat(roles/redis): add redis role
-rw-r--r-- | roles/redis/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
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 |