mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-14 17:24:57 +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"
|
- name: "Install puppeteer if node_modules not yet present"
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: npm install puppeteer
|
cmd: npm install puppeteer
|
||||||
@ -11,12 +17,6 @@
|
|||||||
register: puppeteer_check
|
register: puppeteer_check
|
||||||
failed_when: puppeteer_check.rc != 0
|
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
|
- name: copy health_csp.py
|
||||||
copy:
|
copy:
|
||||||
src: health_csp.py
|
src: health_csp.py
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
name: npm
|
name: npm
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Run 'npm ci' in {{ npm_project_folder }}
|
- name: Run 'npm ci'
|
||||||
command: npm ci
|
command: npm ci
|
||||||
args:
|
args:
|
||||||
chdir: "{{ npm_project_folder }}"
|
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