[test output uvre]

This commit is contained in:
2024-08-21 23:38:16 +02:00
parent 2a3c883443
commit 041a8a3370

View File

@@ -4,7 +4,7 @@
become: true become: true
gather_facts: true gather_facts: true
vars: vars:
fqdn: bec.de fqdn: hstng.fr
ansible_user: stephane ansible_user: stephane
user: staffadmin user: staffadmin
token: !vault | token: !vault |
@@ -172,7 +172,7 @@
volumes: volumes:
- /root/scan/{{ fqdn }}/{{ fqdn }}__dnsx.txt:/{{ fqdn }}__dnsx.txt:rw - /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" - 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: volumes:
- /root/scan/{{ fqdn }}/{{ fqdn }}__dnsx.txt:/{{ fqdn }}__dnsx.txt:rw - /root/scan/{{ fqdn }}/{{ fqdn }}__dnsx.txt:/{{ fqdn }}__dnsx.txt:rw
loop_control: loop_control:
@@ -206,17 +206,15 @@
force: true force: true
delegate_to: scaleway delegate_to: scaleway
become_user: stephane become_user: stephane
when: push_git.changed is true
- copy: - copy:
src: "{{ item }}" src: "{{ item }}"
dest: /opt/dockerapps/appdata/ivre/ivre-share/{{ item.split('/')[-1] }} dest: /opt/dockerapps/appdata/ivre/ivre-share/{{ item.split('/')[-1] }}
remote_src: true remote_src: true
loop: 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 - /home/{{ ansible_user }}/scan/{{ fqdn }}/{{ fqdn }}__httpx.json
delegate_to: scaleway delegate_to: scaleway
when: push_git.changed is true
- name: Run a simple command (argv) - name: Run a simple command (argv)
community.docker.docker_container_exec: community.docker.docker_container_exec:
@@ -229,9 +227,8 @@
- "-s" - "-s"
- "{{ ansible_play_hosts }}" - "{{ ansible_play_hosts }}"
- "-r" - "-r"
- /ivre-share/{{ fqdn }}__nuclei.json - /ivre-share/{{ fqdn }}__dnsx.json
delegate_to: scaleway delegate_to: scaleway
when: push_git.changed is true
- name: Run a simple command (argv) - name: Run a simple command (argv)
community.docker.docker_container_exec: community.docker.docker_container_exec:
@@ -246,7 +243,6 @@
- "-r" - "-r"
- "/ivre-share/{{ fqdn }}__httpx.json" - "/ivre-share/{{ fqdn }}__httpx.json"
delegate_to: scaleway delegate_to: scaleway
when: push_git.changed is true
- name: Run a simple command (argv) - name: Run a simple command (argv)
community.docker.docker_container_exec: community.docker.docker_container_exec:
@@ -256,7 +252,6 @@
- db2view - db2view
- all - all
delegate_to: scaleway delegate_to: scaleway
when: push_git.changed is true
- name: NTFY when docker compose changed - name: NTFY when docker compose changed
uri: uri:
@@ -271,4 +266,3 @@
status_code: 200 status_code: 200
tags: test1 tags: test1
delegate_to: localhost delegate_to: localhost
when: push_git.changed is true