From 622e5024ffdcd06f672ed9a2a803ad2fadc7b19d Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Thu, 12 Sep 2024 14:01:51 +0200 Subject: [PATCH 1/2] net_ping: fix "note" that slipped in the examples code block Fixes: 7fe84847038c52ff5532c8479f3972f09f5f149e That was not fixed by: 3dac28bd5cb6d601f59ffbc3b446321a6e7a088b --- docs/ansible.netcommon.net_ping_module.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/ansible.netcommon.net_ping_module.rst b/docs/ansible.netcommon.net_ping_module.rst index 1b197fae8..55825a31f 100644 --- a/docs/ansible.netcommon.net_ping_module.rst +++ b/docs/ansible.netcommon.net_ping_module.rst @@ -154,11 +154,8 @@ Examples vrf: prod count: 20 - - Note: - - For targets running Python, use the M(ansible.builtin.shell) module along with ping command instead. - - Example: - name: ping - shell: ping -c 1 + - name: Use the ping command instead of an ansible module + ansible.builtin.shell: ping -c 1 From 814adec4e6d4f10b823dbafc99cf79f0f3b27b10 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:23:11 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/ansible.netcommon.net_ping_module.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/ansible.netcommon.net_ping_module.rst b/docs/ansible.netcommon.net_ping_module.rst index 55825a31f..1b197fae8 100644 --- a/docs/ansible.netcommon.net_ping_module.rst +++ b/docs/ansible.netcommon.net_ping_module.rst @@ -154,8 +154,11 @@ Examples vrf: prod count: 20 - - name: Use the ping command instead of an ansible module - ansible.builtin.shell: ping -c 1 + - Note: + - For targets running Python, use the M(ansible.builtin.shell) module along with ping command instead. + - Example: + name: ping + shell: ping -c 1