mirror of
https://github.com/roles-ansible/ansible_role_rspamd.git
synced 2024-08-16 17:09:51 +02:00
13 lines
237 B
YAML
13 lines
237 B
YAML
---
|
|
- name: Update apt cache
|
|
become: true
|
|
ansible.builtin.apt:
|
|
update_cache: true
|
|
when:
|
|
- ansible_pkg_mgr == "apt"
|
|
|
|
- name: Install redis backend
|
|
become: true
|
|
ansible.builtin.apt:
|
|
name: 'redis'
|
|
state: 'present'
|