split templates to Debian and RedHat specific

This commit is contained in:
ace 2021-11-16 13:49:04 +03:00
parent 1eab6a03e0
commit 549afbf95e
No known key found for this signature in database
GPG Key ID: E805F7888C3ED7C0

View File

@ -12,7 +12,7 @@
- name: Add redis.list to sources
template:
src: "etc/apt/sources.list.d/redis.list.j2"
src: "{{ ansible_os_family }}/etc/apt/sources.list.d/redis.list.j2"
dest: /etc/apt/sources.list.d/redis.list
#- name: Add redis repository from PPA