added npm back in

This commit is contained in:
2026-10-28 12:16:04 -06:00
parent f82e56ea27
commit 21b417b37b
3 changed files with 139 additions and 22 deletions

27
roles/npm/tasks/main.yml Normal file
View File

@@ -0,0 +1,27 @@
---
- name: Create NPM directories
ansible.builtin.file:
path: "{{ item }}"
state: directory
mode: '0755'
loop:
- /opt/apps/npm
- /opt/apps/letsencrypt
- name: Deploy Nginx Proxy Manager
containers.podman.podman_container:
image: "docker.io/jc21/nginx-proxy-manager:latest"
name: npm
restart_policy: always
recreate: true
state: started
ports:
- "80:80"
- "81:81"
- "443:443"
volumes:
- "/opt/apps/npm:/data:z"
- "/opt/apps/letsencrypt:/etc/letsencrypt:z"
network:
- npm_internal
ip: '10.10.0.19'