Browse Source

We have to allow httpd to listen on those ports in some cases.

Apparently, at least 8787 has a selinux type already, preventing
httpd to listen on it.

Change-Id: I03eacda0d8eaaa76915d8382bc21e8aa15c88265
Closes-Bug: #1821025
changes/59/645059/2
Cédric Jeanneret 2 years ago
parent
commit
b152659d8d
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      deployment/image-serve/image-serve-baremetal-ansible.yaml

+ 8
- 0
deployment/image-serve/image-serve-baremetal-ansible.yaml View File

@ -51,6 +51,14 @@ outputs:
- 13787
step_config: ''
host_prep_tasks:
- name: authorize httpd to listen on registry ports
seport:
ports:
- '8787'
- '13787'
proto: tcp
setype: http_port_t
state: present
- name: Install, Configure and Run Apache to serve container images
block:
- set_fact:


Loading…
Cancel
Save