This role installs `wal-g` from the DCH Yum repository, and creates a configuration file for it in `/etc/postgresql`. Additionally, it installs a custom SELinux policy module that allows `wal-g` to run in the `postgresql_t` domain (i.e. when spawned by the PostgreSQL server).
4 lines
118 B
YAML
4 lines
118 B
YAML
- name: load wal-g-postgresql selinux module
|
|
command:
|
|
semodule -i /usr/local/share/selinux/wal-g-postgresql.cil
|