1
0
Fork 0
forked from infra/ansible

anubis: fix ports for el vs non el versions

I mistakenly changed the port in the fedora/non el one, that was
correct.

Need to add the port in the el one for selinux to allow httpd to work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2026-01-22 10:44:20 -08:00
commit 4e9729d938
2 changed files with 7 additions and 5 deletions

View file

@ -47,6 +47,10 @@
- config
- anubis
- name: Set ports so httpd can bind to 3923
ansible.builtin.command: semanage port -a -t http_port_t -p tcp 3923
when: semanageoutput.stdout.find("3923") == -1
- name: Create the directory to store the anubis policy file
ansible.builtin.file:
dest: /srv/anubis/cfg/

View file

@ -41,11 +41,9 @@
tags:
- anubis
- name: Set ports so httpd can bind to 3923
ansible.builtin.command: semanage port -a -t http_port_t -p tcp 3923
when: semanageoutput.stdout.find("3923") == -1
tags:
- anubis
- name: Set ports so httpd can bind to 8345
ansible.builtin.command: semanage port -a -t http_port_t -p tcp 8345
when: semanageoutput.stdout.find("8345") == -1
- name: Allow Apache to make network connections for proxy
ansible.posix.seboolean: