rename network_get network_put modules to net_get net_put (#40381)

This commit is contained in:
Deepak Agrawal 2018-05-18 14:41:47 +05:30 committed by GitHub
parent de2c1dc241
commit 9e3ad96fa9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 16 deletions

View file

@ -1,5 +1,5 @@
---
- debug: msg="START ios cli/network_get.yaml on connection={{ ansible_connection }}"
- debug: msg="START ios cli/net_get.yaml on connection={{ ansible_connection }}"
# Add minimal testcase to check args are passed correctly to
# implementation module and module run is successful.
@ -13,7 +13,7 @@
match: none
- name: setup (copy file to be fetched from device)
network_put:
net_put:
src: ios1.cfg
register: result
@ -22,7 +22,7 @@
- result.changed == true
- name: get the file from device with dest unspecified
network_get:
net_get:
src: ios1.cfg
register: result
@ -31,7 +31,7 @@
- result.changed == true
- name: get the file from device with relative destination
network_get:
net_get:
src: ios1.cfg
dest: 'ios_{{ ansible_host }}.cfg'
register: result
@ -40,4 +40,4 @@
that:
- result.changed == true
- debug: msg="END ios cli/network_get.yaml on connection={{ ansible_connection }}"
- debug: msg="END ios cli/net_get.yaml on connection={{ ansible_connection }}"

View file

@ -1,5 +1,5 @@
---
- debug: msg="START ios cli/network_put.yaml on connection={{ ansible_connection }}"
- debug: msg="START ios cli/net_put.yaml on connection={{ ansible_connection }}"
# Add minimal testcase to check args are passed correctly to
# implementation module and module run is successful.
@ -13,7 +13,7 @@
match: none
- name: copy file from controller to ios + scp (Default)
network_put:
net_put:
src: ios1.cfg
register: result
@ -22,7 +22,7 @@
- result.changed == true
- name: copy file from controller to ios + dest specified
network_put:
net_put:
src: ios1.cfg
dest: ios.cfg
register: result
@ -31,4 +31,4 @@
that:
- result.changed == true
- debug: msg="END ios cli/network_put.yaml on connection={{ ansible_connection }}"
- debug: msg="END ios cli/net_put.yaml on connection={{ ansible_connection }}"