mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-16 11:40:28 +08:00
setting httpd_can_network_connect_db sebool for resultsdb-backend role
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
sudo: true
|
||||
action: postgresql_user db={{ resultsdb_db_name }} user={{ resultsdb_db_user }} password={{ resultsdb_db_password }} role_attr_flags=NOSUPERUSER
|
||||
|
||||
- name: ensure selinux lets httpd talk to postgres
|
||||
seboolean: name=httpd_can_network_connect_db persistent=yes state=yes
|
||||
|
||||
- name: generate resultsdb config
|
||||
template: src=settings.py.j2 dest=/etc/resultsdb/settings.py owner=root group=root mode=0644
|
||||
notify:
|
||||
|
||||
Reference in New Issue
Block a user