Make sysctl configuration path configurable

Defaults to /etc/sysctl.conf to retain current behavior
Change-Id: Ie6a84a31f8281c0240519e92a217359234f1e1bb
This commit is contained in:
Daniel 'f0o' Preussker
2025年01月19日 07:53:26 +00:00
parent d886c4436b
commit 240d109cc8

View File

@@ -328,3 +328,5 @@ haproxy_static_files_default:
condition:"{{ haproxy_security_txt_content is truthy }}"
haproxy_static_files_extra:[]
haproxy_static_files:"{{ haproxy_static_files_default + haproxy_static_files_extra }}"
haproxy_sysctl_file:"{{ openstack_sysctl_file | default('/etc/sysctl.conf') }}"

View File

@@ -0,0 +1,6 @@
---
features:
- |
Allow the definition of a custom sysctl config path through
`openstack_sysctl_file` and/or `haproxy_sysctl_file`.
Defaults to `/etc/sysctl.conf` to retain backwards compatibility.

View File

@@ -18,6 +18,7 @@
name:"{{ item }}"
value:1
sysctl_set:true
sysctl_file:"{{ haproxy_sysctl_file }}"
state:present
when:haproxy_bind_on_non_local | bool
with_items:
Reference in New Issue
openstack/openstack-ansible-haproxy_server
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.