summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_ping.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/modules/vyos_ping.py')
-rw-r--r--plugins/modules/vyos_ping.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/modules/vyos_ping.py b/plugins/modules/vyos_ping.py
index 9e99d48..c770804 100644
--- a/plugins/modules/vyos_ping.py
+++ b/plugins/modules/vyos_ping.py
@@ -154,7 +154,9 @@ def main():
ttl=dict(type="int"),
size=dict(type="int"),
interval=dict(type="int"),
- state=dict(type="str", choices=["absent", "present"], default="present"),
+ state=dict(
+ type="str", choices=["absent", "present"], default="present"
+ ),
)
argument_spec.update(vyos_argument_spec)
@@ -174,7 +176,9 @@ def main():
if warnings:
results["warnings"] = warnings
- results["commands"] = [build_ping(dest, count, size, interval, source, ttl)]
+ results["commands"] = [
+ build_ping(dest, count, size, interval, source, ttl)
+ ]
ping_results = run_commands(module, commands=results["commands"])
ping_results_list = ping_results[0].split("\n")