Skip to content

Is it work? #35

@neeks76

Description

@neeks76

Greeting.

I'm a newbie on the A10 device.
Could you show me how to use Ansible with ACOS 6.0.7?

I was doing the following:

  1. a10-acos-cli install
git clone https://github.com/a10networks/a10-acos-cli.git
cd a10-acos-cli/
ansible-galaxy collection build
ansible-galaxy collection install a10-acos_cli-3.0.1.tar.gz
  1. ansible.cfg
[defaults]
inventory = /home/hooni/ansible/ansible_lab/inventory
host_key_checking = False
cliconf_plugins  = /home/hooni/a10-acos-cli/plugins/cliconf
#terminal_plugins = <collection-dir-path>/a10/acos_cli/plugins/terminal
  • I can't find the terminal here, so I commented.
  1. inventory
[test]
a1 ansible_host=192.168.55.110              
[test:vars]
ansible_user=admin
ansible_password=P@sw0rd01
ansible_port=22
ansible_connection=network_cli
ansible_network_os=acos                     #ansible_become_password=P@sw0rd02  
  1. ansible test -m ping
root@DESKTOP-F0FU4VV:/home/hooni/ansible/ansible_lab# ansible test -m ping
[WARNING]: Collection ansible.netcommon does not support Ansible version 2.14.18
[WARNING]: Collection ansible.utils does not support Ansible version 2.14.18
a1 | FAILED! => {
    "msg": "network os acos is not supported"
}
  • I checked that acos-cli supported Ansible version, 2.14.18 is included.

What I have tested is not correct?
I can't communicate with A10 by Ansible.

Below image are what have done.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions