forked from saltstack-formulas/diaspora-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(ubuntu-1804): fix ipv6 bind problem on ubuntu 18.04 in docker
- Loading branch information
1 parent
8203e6c
commit 07346a1
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{%- if grains.osfinger == 'Ubuntu-18.04' %} | ||
redis_config: | ||
file.replace: | ||
- name: '/etc/redis/redis.conf' | ||
- pattern: '^bind .*$' | ||
- repl: 'bind 127.0.0.1' | ||
- require: | ||
- pkg: redis_package | ||
- require_in: | ||
- service: redis_service | ||
{%- endif %} |