mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-20 02:53:57 -07:00
Fix multiprocessing pool usage and remove stackoverflow hack
This commit is contained in:
parent
4608a93de5
commit
530e54b3e4
3 changed files with 15 additions and 106 deletions
12
README.md
12
README.md
|
@ -85,10 +85,14 @@ The API is simple and returns basic datastructures.
|
|||
)
|
||||
data = runner.run()
|
||||
|
||||
{
|
||||
'xyz.example.com' : [ 'any kind of datastructure is returnable' ],
|
||||
'foo.example.com' : None, # failed to connect,
|
||||
...
|
||||
{
|
||||
'successful' : {
|
||||
'xyz.example.com' : [ 'any kind of datastructure is returnable' ],
|
||||
'foo.example.com' : [ '...' ]
|
||||
},
|
||||
'failed' : {
|
||||
'bar.example.com' : [ 'failure message' ]
|
||||
}
|
||||
}
|
||||
|
||||
Additional options to Runner include the number of forks, hostname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue