mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c112539538
* 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
7 lines
452 B
YAML
7 lines
452 B
YAML
# 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
|