Solved health-csp bugs

This commit is contained in:
Kevin Veen-Birkenbach 2025-05-13 09:41:25 +02:00
parent b2f11bcf69
commit 687f9b0703
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
3 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,9 @@
- name: "create {{ health_csp_crawler_folder }}"
file:
path: "{{ health_csp_crawler_folder }}"
state: directory
mode: 0755
- name: "Install puppeteer if node_modules not yet present"
ansible.builtin.command:
cmd: npm install puppeteer
@ -11,12 +17,6 @@
register: puppeteer_check
failed_when: puppeteer_check.rc != 0
- name: "create {{ health_csp_crawler_folder }}"
file:
path: "{{ health_csp_crawler_folder }}"
state: directory
mode: 0755
- name: copy health_csp.py
copy:
src: health_csp.py

View File

@ -3,7 +3,7 @@
name: npm
state: present
- name: Run 'npm ci' in {{ npm_project_folder }}
- name: Run 'npm ci'
command: npm ci
args:
chdir: "{{ npm_project_folder }}"

View File

@ -1,2 +0,0 @@
# Optional project folder to run 'npm ci' in
npm_project_folder: null