ipbhat / ipbhat.iqnos / 1.0.5 / module / call_home Call home configurations Authors: Prashanth Bhat preview | supported by communityipbhat.iqnos.call_home (1.0.5) — module
Install with ansible-galaxy collection install ipbhat.iqnos:==1.0.5
collections: - name: ipbhat.iqnos version: 1.0.5
This module is provided to work with the IQNOS Infinera devices via XML protocol.
The module provides capabilities to perform CRUD operations of call home object and invoke or stop on demand session.
--- - hosts: test_group serial: 3 connection: local gather_facts: False vars_files: - "{{ cfg_file }}" vars: NE_IP: "{{ ne_ip | default(hostvars[inventory_hostname]['ansible_host']) }}" NE_User: "{{ ne_user | default(hostvars[inventory_hostname]['ansible_user']) }}" NE_Pwd: "{{ ne_pwd | default(hostvars[inventory_hostname]['ansible_password']) }}" TID: "{{ hostvars[inventory_hostname]['tid'] | default('') }}" tasks: - name: Retrieving All the Call Home Settings infinera.iqnos.call_home: host: "{{ NE_IP }}" username: "{{ NE_User }}" password: "{{ NE_Pwd }}" task: retrieve input: "{{ input_as_per_readme }}" register: iqnos_call_home_res
host: description: - The IP Address of the Network Element. required: true task: description: - The task we are going to perform on the Active User Sessions. required: true input: description: - The inputs to the module. password: description: - The password associated with the username argument. required: true username: description: - The Username that is going to be used for initiating a session.