diff options
Diffstat (limited to 'roles/redis/tasks')
-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 |