From bac0c4595c2e89034da2edc459440dbd76d79f88 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Sat, 10 Sep 2016 07:46:30 -0600 Subject: [PATCH] Fix missing colons in network module examples (#4778) --- lib/ansible/modules/network/dnos10/dnos10_command.py | 6 +++--- lib/ansible/modules/network/eos/eos_command.py | 2 +- lib/ansible/modules/network/ios/ios_command.py | 6 +++--- lib/ansible/modules/network/iosxr/iosxr_command.py | 6 +++--- lib/ansible/modules/network/nxos/nxos_command.py | 2 +- lib/ansible/modules/network/sros/sros_command.py | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/ansible/modules/network/dnos10/dnos10_command.py b/lib/ansible/modules/network/dnos10/dnos10_command.py index 2d68e691c5..3f880985c6 100644 --- a/lib/ansible/modules/network/dnos10/dnos10_command.py +++ b/lib/ansible/modules/network/dnos10/dnos10_command.py @@ -80,20 +80,20 @@ tasks: - name: run show version on remote devices dnos10_command: commands: show version - provider "{{ cli }}" + provider: "{{ cli }}" - name: run show version and check to see if output contains OS10 dnos10_command: commands: show version wait_for: result[0] contains OS10 - provider "{{ cli }}" + provider: "{{ cli }}" - name: run multiple commands on remote nodes dnos10_command: commands: - show version - show interface - provider "{{ cli }}" + provider: "{{ cli }}" - name: run multiple commands and evaluate the output dnos10_command: diff --git a/lib/ansible/modules/network/eos/eos_command.py b/lib/ansible/modules/network/eos/eos_command.py index 931ca237fb..911f091936 100644 --- a/lib/ansible/modules/network/eos/eos_command.py +++ b/lib/ansible/modules/network/eos/eos_command.py @@ -91,7 +91,7 @@ vars: - name: run show verion on remote devices eos_command: commands: show version - provider "{{ cli }}" + provider: "{{ cli }}" - name: run show version and check to see if output contains Arista eos_command: diff --git a/lib/ansible/modules/network/ios/ios_command.py b/lib/ansible/modules/network/ios/ios_command.py index b169c5e14c..5f2e12780b 100644 --- a/lib/ansible/modules/network/ios/ios_command.py +++ b/lib/ansible/modules/network/ios/ios_command.py @@ -94,20 +94,20 @@ tasks: - name: run show version on remote devices ios_command: commands: show version - provider "{{ cli }}" + provider: "{{ cli }}" - name: run show version and check to see if output contains IOS ios_command: commands: show version wait_for: result[0] contains IOS - provider "{{ cli }}" + provider: "{{ cli }}" - name: run multiple commands on remote nodes ios_command: commands: - show version - show interfaces - provider "{{ cli }}" + provider: "{{ cli }}" - name: run multiple commands and evaluate the output ios_command: diff --git a/lib/ansible/modules/network/iosxr/iosxr_command.py b/lib/ansible/modules/network/iosxr/iosxr_command.py index 3e97ab4b3d..1d6acc887b 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_command.py +++ b/lib/ansible/modules/network/iosxr/iosxr_command.py @@ -93,20 +93,20 @@ tasks: - name: run show version on remote devices iosxr_command: commands: show version - provider "{{ cli }}" + provider: "{{ cli }}" - name: run show version and check to see if output contains iosxr iosxr_command: commands: show version wait_for: result[0] contains IOS-XR - provider "{{ cli }}" + provider: "{{ cli }}" - name: run multiple commands on remote nodes iosxr_command: commands: - show version - show interfaces - provider "{{ cli }}" + provider: "{{ cli }}" - name: run multiple commands and evaluate the output iosxr_command: diff --git a/lib/ansible/modules/network/nxos/nxos_command.py b/lib/ansible/modules/network/nxos/nxos_command.py index 5ffcb90823..bcd7566dce 100644 --- a/lib/ansible/modules/network/nxos/nxos_command.py +++ b/lib/ansible/modules/network/nxos/nxos_command.py @@ -96,7 +96,7 @@ vars: - name: run show verion on remote devices nxos_command: commands: show version - provider "{{ cli }}" + provider: "{{ cli }}" - name: run show version and check to see if output contains Cisco nxos_command: diff --git a/lib/ansible/modules/network/sros/sros_command.py b/lib/ansible/modules/network/sros/sros_command.py index 97342cf54e..e2e3acd6cc 100644 --- a/lib/ansible/modules/network/sros/sros_command.py +++ b/lib/ansible/modules/network/sros/sros_command.py @@ -92,20 +92,20 @@ tasks: - name: run show version on remote devices sros_command: commands: show version - provider "{{ cli }}" + provider: "{{ cli }}" - name: run show version and check to see if output contains sros sros_command: commands: show version wait_for: result[0] contains sros - provider "{{ cli }}" + provider: "{{ cli }}" - name: run multiple commands on remote nodes sros_command: commands: - show version - show port detail - provider "{{ cli }}" + provider: "{{ cli }}" - name: run multiple commands and evaluate the output sros_command: