mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
IPA-tuura: SELinux again
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user