blob: be272d70ed4b90db498ce58377011e7326b6fa82 [file] [log] [blame]
Zack Williams2e9da862020-07-13 21:39:21 -07001---
2# redis tasks/main.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7- name: include OS-specific vars
8 include_vars: "{{ ansible_os_family }}.yml"
9
10- name: include OS-specific tasks
11 include_tasks: "{{ ansible_os_family }}.yml"
12
13- name: Set Redis listening addresses
14 lineinfile:
15 path: "/etc/redis/redis.conf"
16 line: "bind {{ redis_bind | join(' ') }}"
17 regex: "^bind .*"
18 notify:
19 - "restart-redis"