[test output uvre]
This commit is contained in:
14
scan.yml
14
scan.yml
@@ -4,7 +4,7 @@
|
||||
become: true
|
||||
gather_facts: true
|
||||
vars:
|
||||
fqdn: bec.de
|
||||
fqdn: hstng.fr
|
||||
ansible_user: stephane
|
||||
user: staffadmin
|
||||
token: !vault |
|
||||
@@ -172,7 +172,7 @@
|
||||
volumes:
|
||||
- /root/scan/{{ fqdn }}/{{ fqdn }}__dnsx.txt:/{{ fqdn }}__dnsx.txt:rw
|
||||
- command: "PDCP_API_KEY={{ PDCP_API_KEY }} -silent -sc -title -td -method -bp -server -ip -location -cname -asn -probe -l /{{ fqdn }}__dnsx.txt -dashboard"
|
||||
name: httpx_dashboard
|
||||
name: httpx_dashboard_2
|
||||
volumes:
|
||||
- /root/scan/{{ fqdn }}/{{ fqdn }}__dnsx.txt:/{{ fqdn }}__dnsx.txt:rw
|
||||
loop_control:
|
||||
@@ -206,17 +206,15 @@
|
||||
force: true
|
||||
delegate_to: scaleway
|
||||
become_user: stephane
|
||||
when: push_git.changed is true
|
||||
|
||||
- copy:
|
||||
src: "{{ item }}"
|
||||
dest: /opt/dockerapps/appdata/ivre/ivre-share/{{ item.split('/')[-1] }}
|
||||
remote_src: true
|
||||
loop:
|
||||
# - /home/{{ ansible_user }}/scan/{{ fqdn }}/{{ fqdn }}__nuclei.json
|
||||
- /home/{{ ansible_user }}/scan/{{ fqdn }}/{{ fqdn }}__dnsx.json
|
||||
- /home/{{ ansible_user }}/scan/{{ fqdn }}/{{ fqdn }}__httpx.json
|
||||
delegate_to: scaleway
|
||||
when: push_git.changed is true
|
||||
|
||||
- name: Run a simple command (argv)
|
||||
community.docker.docker_container_exec:
|
||||
@@ -229,9 +227,8 @@
|
||||
- "-s"
|
||||
- "{{ ansible_play_hosts }}"
|
||||
- "-r"
|
||||
- /ivre-share/{{ fqdn }}__nuclei.json
|
||||
- /ivre-share/{{ fqdn }}__dnsx.json
|
||||
delegate_to: scaleway
|
||||
when: push_git.changed is true
|
||||
|
||||
- name: Run a simple command (argv)
|
||||
community.docker.docker_container_exec:
|
||||
@@ -246,7 +243,6 @@
|
||||
- "-r"
|
||||
- "/ivre-share/{{ fqdn }}__httpx.json"
|
||||
delegate_to: scaleway
|
||||
when: push_git.changed is true
|
||||
|
||||
- name: Run a simple command (argv)
|
||||
community.docker.docker_container_exec:
|
||||
@@ -256,7 +252,6 @@
|
||||
- db2view
|
||||
- all
|
||||
delegate_to: scaleway
|
||||
when: push_git.changed is true
|
||||
|
||||
- name: NTFY when docker compose changed
|
||||
uri:
|
||||
@@ -271,4 +266,3 @@
|
||||
status_code: 200
|
||||
tags: test1
|
||||
delegate_to: localhost
|
||||
when: push_git.changed is true
|
||||
|
||||
Reference in New Issue
Block a user