mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-14 09:14:56 +02:00
Solved health-csp bugs
This commit is contained in:
parent
b2f11bcf69
commit
687f9b0703
@ -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
|
||||
|
@ -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 }}"
|
||||
|
@ -1,2 +0,0 @@
|
||||
# Optional project folder to run 'npm ci' in
|
||||
npm_project_folder: null
|
Loading…
x
Reference in New Issue
Block a user