IPA-tuura: SELinux again

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard
2025-10-22 17:25:02 +02:00
parent 904b275962
commit baedc8dc06

View File

@@ -116,11 +116,11 @@
virtualenv: /srv/venv
virtualenv_command: /usr/bin/python3 -m venv
name:
- psycopg2
- setuptools
- packaging
# https://pagure.io/freeipa/issue/9708
- "cryptography<44.0"
- psycopg2
- setuptools
- packaging
# https://pagure.io/freeipa/issue/9708
- "cryptography<44.0"
tags:
- ipatuura
@@ -136,8 +136,8 @@
ansible.builtin.command:
cmd: /root/install-venv.sh {{item}} /srv/venv
loop:
- ipalib
- sssdconfig
- ipalib
- sssdconfig
tags:
- ipatuura
@@ -199,7 +199,7 @@
group: root
mode: 0644
notify:
- Restart apache
- Restart apache
tags:
- ipatuura
@@ -211,7 +211,7 @@
group: root
mode: 0644
notify:
- Reload apache
- Reload apache
tags:
- ipatuura
@@ -228,8 +228,12 @@
- name: Apply selinux type to the wsgi file
ansible.builtin.file:
dest: /srv/*
dest: /srv/{{item}}
setype: httpd_sys_content_t
loop:
- ipa-tuura
- venv
- wsgi.py
tags:
- ipsilon
- selinux