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

20 lines
423 B
Plaintext
Raw Permalink Normal View History

2022-11-02 10:18:20 +00:00
{% 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') }}