File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 11---
22
3+ # #####################
4+ # Playbook variables #
5+ # #####################
6+ # Whether to use Debian/Ubuntu backports repository when installing Redis
7+ redis_debian_backports : False
8+
9+ # ##################
10+ # Redis variables #
11+ # ##################
312redis_bind_address : " 0.0.0.0"
413redis_port : 6379
514redis_syslog_enabled : " yes"
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
22+ apt :
23+ name : " {{ item }}"
24+ state : present
25+ update_cache : yes
26+ default_release : " {{ ansible_distribution_release + '-backports' if redis_debian_backports else ansible_distribution_release }}"
2327 with_items : redis_ubuntu_pkg
2428 environment : env
2529 when : ansible_os_family == "Debian"
You can’t perform that action at this time.
0 commit comments