File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1919 when : ansible_os_family == "RedHat"
2020
2121- name : Install the Redis packages
22+ apt : name={{ item }} state=present update_cache=yes
23+ with_items : redis_ubuntu_pkg
24+ environment : env
25+ when : ansible_os_family == "Debian" and not redis_debian_backports
26+
27+ - name : Install the Redis packages
2228 apt :
2329 name : " {{ item }}"
2430 state : present
2531 update_cache : yes
26- default_release : " {{ ansible_distribution_release + '-backports' if redis_debian_backports else ansible_distribution_release }} "
32+ default_release : " {{ ansible_distribution_release }}-backports "
2733 with_items : redis_ubuntu_pkg
2834 environment : env
29- when : ansible_os_family == "Debian"
35+ when : ansible_os_family == "Debian" and redis_debian_backports
3036
3137- name : Copy the redis configuration file
3238 template : src=redis.conf.j2 dest={{ redis_conf_dest }}
You can’t perform that action at this time.
0 commit comments