Ansible has got a shell module, so you could run custom commands on all hosts. But it gets more difficult in parsing the output afterwards.

--
Lars Liedtke
Software Entwickler

                        
Phone:  
Fax:    +49 721 98993-
E-mail: l...@solute.de


solute GmbH
Zeppelinstraße 15                               
76185 Karlsruhe
Germany


Marken der solute GmbH | brands of solute GmbH
billiger.de | Shopping.de

Geschäftsführer | Managing Director: Dr. Thilo Gans, Bernd Vermaaten
Webseite | www.solute.de
Sitz | Registered Office: Karlsruhe
Registergericht | Register Court: Amtsgericht Mannheim
Registernummer | Register No.: HRB 110579
USt-ID | VAT ID: DE234663798


Informationen zum Datenschutz | Information about privacy policy
http://solute.de/ger/datenschutz/grundsaetze-der-datenverarbeitung.php

Am 19.05.22 um 21:16 schrieb ^Bart:
Maybe it could be a good idea to look at Ansible for copying the Files to all the hosts, because that is one thing ansible is made for.

I didn't know it... thanks to share it but... I should start to study it and I don't have not enought free time... but maybe in the future I'll do it! :)

For the nmap part: Ansible does not have a module for that (sadly) but is very extensible, so if you start developing something like that in Python, you could as well write an ansible module and combine both, because Ansible itself is written in Python.

Ah ok, maybe now I just start to write a bash script because I need to start this work asap, when I'll have one minute I'll try to move the script in Python and after it I could "upload" the work on Ansible! :)

Cheers

Lars

Thanks!
^Bart


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to