To test my collections, i moved the dellos10 terminal plugin from the 
ansible installable.

Attached my sample collections tar file

* My playbook:*
---
- hosts: datacenter
  connection: network_cli
  collections:
     - dell_networking.dellos10
     - dellos10
  gather_facts: no

  tasks:
  - name: "Get Dell EMC OS9 Show version"
    dellos10_command:
      commands: ['show lldp neighbor']
    register: show_ver

  - debug: var=show_ver

*My collections directory looks as below:*
root@test-dev:~/.ansible/collections/ansible_collections/dell_networking/dellos10#
 
tree
.
├── docs
├── FILES.json
├── MANIFEST.json
├── plugins
│   ├── README.md
│   └── terminal
│       ├── dellos10.py
│       └── __init__.py
├── README.md
└── roles

4 directories, 6 files

my playbook run still didnt picked the terminal plugin and throws the below 
error:

TASK [Get Dell EMC OS9 Show version] 
**********************************************************************************************************************************************************
task path: /root/ansible/hedwigr6/show_version_coll.yaml:10
fatal: [os10]: FAILED! => {
    *"msg": "network os dellos10 is not supported"*
}

PLAY RECAP 
************************************************************************************************************************************************************************************
os10                       : ok=0    changed=0    unreachable=0    
failed=1    skipped=0    rescued=0    ignored=0

root@fjaveed-dev:~/ansible/hedwigr6#

Could someone please let me know what am i missing?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/1ec1bc7b-4cad-45d7-9124-36f98be99f58%40googlegroups.com.

Attachment: dell_networking-dellos10-1.0.0.tar.gz
Description: Binary data

Reply via email to