Skip to content

Commit 813bf0e

Browse files
committed
delete trivy scanned vulnerabilities
1 parent 526b758 commit 813bf0e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- hosts: openondemand
2+
become: yes
3+
gather_facts: false
4+
tasks:
5+
- name: Delete trivy vulnerable files
6+
ansible.builtin.file:
7+
path: "{{ item }}"
8+
state: absent
9+
with_items:
10+
- /opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.7-1/gems/bootstrap_form-2.7.0/test/dummy/Gemfile.lock
11+
- /opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.7-1/gems/bootstrap_form-4.5.0/demo/yarn.lock
12+
- /var/www/ood/apps/sys/dashboard/node_modules/data-confirm-modal/Gemfile.lock

0 commit comments

Comments
 (0)