-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #92
- Loading branch information
Showing
24 changed files
with
177 additions
and
163 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 |
---|---|---|
|
@@ -25,7 +25,7 @@ tags: | |
- php_fpm | ||
- postfix | ||
- postgresql | ||
- redis | ||
- valkey | ||
- rpmfusion | ||
- security | ||
- squid | ||
|
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
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Redis Ansible Role | ||
# Valkey Ansible Role | ||
|
||
## Description | ||
|
||
|
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,40 @@ | ||
# Valkey Ansible Role | ||
|
||
## Description | ||
|
||
This role installs a [Valkey](https://valkey.io/) in memory data store. | ||
|
||
### Features | ||
|
||
Configuration: | ||
* Bind to Unix socket. | ||
* Log in Systemd journal. | ||
|
||
Security: | ||
* Run in a Systemd sandbox. | ||
* Work with SElinux enforced. | ||
|
||
## Dependencies | ||
|
||
*None* | ||
|
||
## Variables | ||
|
||
### Optional | ||
|
||
| Name | Default Value | Description | | ||
|--------------------|---------------|---------------------------------------------------------| | ||
| `valkey_log_level` | `"warning"` | Valkey log level in the journal. | | ||
| `valkey_user` | | If specified, allow this Unix user to access to Valkey. | | ||
|
||
## Example Playbook | ||
|
||
```yaml | ||
--- | ||
- hosts: all | ||
become: true | ||
collections: | ||
- jgoutin.home | ||
roles: | ||
- valkey | ||
``` |
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,2 @@ | ||
--- | ||
valkey_log_level: warning |
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,13 @@ | ||
|
||
module httpd_valkey 1.0; | ||
|
||
require { | ||
type unconfined_service_t; | ||
type var_run_t; | ||
type httpd_t; | ||
class sock_file write; | ||
class unix_stream_socket connectto; | ||
} | ||
|
||
allow httpd_t unconfined_service_t:unix_stream_socket connectto; | ||
allow httpd_t var_run_t:sock_file write; |
4 changes: 2 additions & 2 deletions
4
roles/redis/files/redis_service.conf → roles/valkey/files/valkey_service.conf
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
File renamed without changes.
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
Oops, something went wrong.