alliedtelesis / ansible_awplus

Ansible Network Collection for AlliedWare Plus devices
GNU General Public License v3.0
10 stars 7 forks source link

Awplus not supported #38

Closed morenorobyn closed 3 years ago

morenorobyn commented 3 years ago

Hi whenever i try to connect to my awplus devices using ansible i get the following error

aw1 | FAILED! => {
    "msg": "network os awplus is not supported"
}

Inventory file

[all:vars]
ansible_connection=network_cli

[switches:children]
awplus

[awplus]
aw1 ansible_host=192.168.100.254 

[awplus:vars]
ansible_become=yes
ansible_become_method=enable
ansible_user=username
ansible_password=password

Am i using the wrong name in my inventory file or is this project no longer supported?

mwutzke commented 3 years ago

Though you don't detail it, I suspect somewhere in your configuration you have defined:

ansible_network_os=awplus

I believe this should be:

ansible_network_os=alliedtelesis.awplus.awplus

If you still have issues, please provide some details about your Ansible environment:

ansible --version ansible-galaxy collection list | grep alliedtelesis

This will help with further diagnostics.

On Wed, 13 Oct 2021 at 22:21, moreno @.***> wrote:

Hi whenever i try to connect to my awplus devices using ansible i get the following error

aw1 | FAILED! => { "msg": "network os awplus is not supported" }

Inventory file

[all:vars] ansible_connection=network_cli

[switches:children] awplus

[awplus] aw1 ansible_host=192.168.100.254

[awplus:vars] ansible_become=yes ansible_become_method=enable ansible_user=username ansible_password=password

Am i using the wrong name in my config file or is this project no longer supported?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alliedtelesis/ansible_awplus/issues/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFDU4H66UX3YCNJUIPPYCDUGVTR5ANCNFSM5F46BEMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

tony-vanderpeet commented 3 years ago

Thanks Mark, you beat me to the reply! Yes, this project is still supported, and we are certainly interested in talking to users of this work, and using your feedback to improve things. I would just add that the released version of this package should also be available as a collection from Ansible Galaxy. https://galaxy.ansible.com/alliedtelesis/awplus

Tony van der Peet