Update to 2024-10-08 16:00

This commit is contained in:
Daniel Berteaud
2024-10-08 16:00:13 +02:00
parent c8bd6e6109
commit fc993adf3d
11 changed files with 154 additions and 34 deletions

View File

@@ -0,0 +1,21 @@
---
- name: Set correct SELinux context
sefcontext:
target: "{{ nomad_root_dir }}/log(/.*)?"
setype: httpd_log_t
state: present
register: nomad_fcontext
when:
- nomad_conf.tls.http
- nomad_conf.server.enabled
tags: nomad
- name: Fix context for log dir
command: restorecon -R {{ nomad_root_dir }}/log
changed_when: false
tags: nomad
- name: Allow nginx to bind on other ports
seboolean: name=nis_enabled state=true persistent=true
tags: nomad