Make sysctl configuration path configurable

Defaults to /etc/sysctl.conf to retain current behavior

Change-Id: I10f98777faa467f0e9476a31c1d4f89a3a2d746c
This commit is contained in:
Daniel 'f0o' Preussker 2025-01-19 07:06:32 +00:00
parent 4f32445ac7
commit 9cd532924e
2 changed files with 3 additions and 0 deletions

@ -581,3 +581,5 @@ horizon_pki_install_certificates:
# horizon_user_ssl_cert: <path to cert on ansible deployment host>
# horizon_user_ssl_key: <path to cert on ansible deployment host>
# horizon_user_ssl_ca_cert: <path to cert on ansible deployment host>
horizon_sysctl_file: "{{ openstack_sysctl_file | default('/etc/sysctl.conf') }}"

@ -18,6 +18,7 @@
name: net.ipv4.ip_unprivileged_port_start
value: "0"
sysctl_set: yes
sysctl_file: "{{ horizon_sysctl_file }}"
state: present
reload: yes