Added draft for CSP health checker

This commit is contained in:
2025-05-13 09:10:20 +02:00
parent 72baa9ea28
commit 23496f2fab
18 changed files with 424 additions and 0 deletions

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

@@ -0,0 +1,12 @@
- name: Ensure npm is installed
package:
name: npm
state: present
- name: Run 'npm ci' in {{ npm_project_folder }}
command: npm ci
args:
chdir: "{{ npm_project_folder }}"
when: npm_project_folder is defined
register: npm_output
changed_when: "'added' in npm_output.stdout or 'updated' in npm_output.stdout"