New module: cnos_command (#21785)

* Initial commit for cnos_command

* Move roles to integration/roles directory and remove aliases file.

* update module short description

* Change module directory name to Lenovo

* change import cnos statement
This commit is contained in:
Dave Kasberg
2017-03-02 08:09:45 -08:00
committed by John R Barker
parent d96aa55d4c
commit c112539538
5 changed files with 292 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# This contain sample template execution tasks
---
- name: Test Command
cnos_command: host={{ inventory_hostname }} username={{ hostvars[inventory_hostname]['username']}} password={{ hostvars[inventory_hostname]['password']}} deviceType={{ hostvars[inventory_hostname]['deviceType']}} clicommand='{{item.clicommand}}' outputfile=./results/cnos_command_{{ inventory_hostname }}_output.txt
with_items: "{{test_runcommand_data1}}"
# Completed file