diff --git a/podman/containers/files/files_unprivileged_ports.jinja b/podman/containers/files/files_unprivileged_ports.jinja deleted file mode 100644 index 3093811..0000000 --- a/podman/containers/files/files_unprivileged_ports.jinja +++ /dev/null @@ -1,3 +0,0 @@ -{%- for port in UNPRIVILEGED_PORTS %} -net.ipv4.ip_unprivileged_port_start={{ port }} -{%- endfor %} diff --git a/podman/containers/npm.sls b/podman/containers/npm.sls index 26246e3..2d69c45 100644 --- a/podman/containers/npm.sls +++ b/podman/containers/npm.sls @@ -42,10 +42,7 @@ podman_containers_npm_letsencrypt_dir: podman_containers_npm_privileged_ports: file.managed: - name: /etc/sysctl.d/podman.conf - - source: salt://{{ tpldir }}/files/files_unprivileged_ports.jinja - - template: jinja - - context: - UNPRIVILEGED_PORTS: [22, 80, 81, 443] + - text: net.ipv4.ip_unprivileged_port_start = 0 - user: root - group: root - mode: '0644'