gmoisio / gmoisio.ale / 1.3.0 / module / ale_aos_facts Get ALE OmniSwitch device informations and return a dictionary of lists. | "added in version" 1.2.2 of gmoisio.ale" Authors: Gilbert MOISIO stableinterface | supported by communitygmoisio.ale.ale_aos_facts (1.3.0) — module
Install with ansible-galaxy collection install gmoisio.ale:==1.3.0
collections: - name: gmoisio.ale version: 1.3.0
Get device informations using getters selector and return a dictionary formatted output.
- gmoisio.ale.ale_aos_facts: host: "{{ ansible_host }}" username: admin password: switch sshconfig: ~/.ssh/config getters: - vlans - interfaces - ntp
host: description: - Set to {{ inventory_hostname }} or {{ ansible_host }} required: true type: str port: default: 22 description: - SSH connection port required: false type: int getters: default: - vlans description: - List of the getters to retrieve required: false type: list password: description: - Login password required: true type: str username: description: - Login username required: true type: str sshconfig: default: None description: - Path to sshconfig to use for connections required: false type: str
msg: description: Message returned: On exit and on fail type: string output: description: Dictionary of lists returned by the commands returned: On exit type: dict