Skip to content

aoscx_config create a failed ssh connection #126

@NimaHITC

Description

@NimaHITC

When using the aoscx_config module ansible create an failed ssh connection before connecting succesfully

Event|5210|LOG_ERR|AMM|1/1|User xxx login from x.x.x.x for SSH session failed during password based authentication.

Here are parts of my playbook where the error occurs

collections:
- arubanetworks.aoscx
vars:
ansible_connection: arubanetworks.aoscx.aoscx
ansible_httpapi_validate_certs: False
ansible_httpapi_use_ssl: True
ansible_acx_no_proxy: True
ansible_aoscx_validate_certs: False
ansible_network_cli_ssh_type: libssh

    - name: Create reboot job
      vars:
        ansible_connection: network_cli
      aoscx_config:
        parents:
          - job Reboot
        lines:
          - description reboot to image
          - 10 cli config
          - 15 cli allow-unsafe-updates 60
          - 20 cli boot system {{ target_partition }}
        save_when: always

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