mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Fix uptime example in examples/scripts
This commit is contained in:
parent
cb18b3eb26
commit
9fa014f76d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import sys
|
||||||
# construct the ansible runner and execute on all hosts
|
# construct the ansible runner and execute on all hosts
|
||||||
results = ansible.runner.Runner(
|
results = ansible.runner.Runner(
|
||||||
pattern='*', forks=10,
|
pattern='*', forks=10,
|
||||||
module_name='command', module_args=['/usr/bin/uptime'],
|
module_name='command', module_args='/usr/bin/uptime',
|
||||||
).run()
|
).run()
|
||||||
|
|
||||||
if results is None:
|
if results is None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue