This repository has been archived on 2023-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
salt-states_old/podman/npm.sls
2022-11-02 11:18:20 +01:00

20 lines
423 B
Plaintext

{% from 'lib.sls' import container_deploy with context %}
Make sure user can open low tcp ports:
file.managed:
- name: /etc/sysctl.d/npm-container.conf
- source: salt://podman/files/npm-container.conf
- user: root
- group: root
- mode: "0644"
Reload sysctl:
cmd.run:
- name: sysctl --system
- onchanges:
- file: Make sure user can open low tcp ports
{{ container_deploy('npm') }}