automatics_ai / automatics_ai.automatics / 2.1.2 / module / node_info Gather information on automatics nodes Authors: automatics.AI Development (@automatics-ai) <dev@automatics.ai>automatics_ai.automatics.node_info (2.1.2) — module
Install with ansible-galaxy collection install automatics_ai.automatics:==2.1.2
collections: - name: automatics_ai.automatics version: 2.1.2
Gathers information on automatics nodes
- name: Gather information on single automatics node automatics_ai.automatics.node_info: hostname: automatics.example.org auth_token: aW4iLCJlbWFpbCI6ImFkbWluIiw... validate_certs: false nodes: - name: sapsrv.example.org
- name: Gather information on multiple automatics nodes automatics_ai.automatics.node_info: hostname: automatics.example.org auth_token: aW4iLCJlbWFpbCI6ImFkbWluIiw... validate_certs: false nodes: - name: sapsrv1.example.org - name: sapsrv2
- name: Gather information on multiple automatics nodes of different clients automatics_ai.automatics.node_info: hostname: automatics.example.org auth_token: aW4iLCJlbWFpbCI6ImFkbWluIiw... validate_certs: false nodes: - name: sapsrv1.example.org - name: sapsrv2 - name: sapsrv3.example.org client: 21 - name: sapsrv2 client: client_1
nodes: description: - nodes in automatics to select for the operation (name/hostname matching) - dict containing 'name' and 'client' that must match the automatics name and client elements: dict required: false suboptions: client: default: '1' description: - the client to which the system is assigned - can either be the client id or client name - default is client with id=1, what is the automatics default client required: false type: str name: description: - must either match the node-name or node-hostname in automatics required: true type: str type: list hostname: description: - Hostname of the automatics server. required: true type: str node_ids: description: - nodes in automatics to select for the operation (id matching) - must match the automatics node-id elements: int required: false type: list auth_token: description: - automatics authentication bearer token returned from automatics_login module required: true type: str validate_certs: default: true description: - Verify the https certificate of the automatics server. required: false type: bool
info: description: Information on given automatics nodes elements: dict returned: always sample: - attributes: os.name: Linux os.version: 4.18.0-477.21.1.el8_8.x86_64 sap.daa.instance-id: '98' sap.daa.is_installed: true sap.daa.sid: DAA sap.host_agent.is_installed: true status.details: Login succeeded with provided credentials status.timestamp: '1676268215' children: [] client: id: 1 name: automatics components: - attributes: sap.instance-id: '00' sap.kernel.patch_level: '1019' sap.kernel.release: '753' sap.sid: AUT status.details: sap-as-abap up status.timestamp: '1676268033' description: AS-ABAP on Linux id: 2838 name: AUT-AS status: up system: attributes: sap.kernel.patch_level: '1019' sap.kernel.release: '753' sap.product.name: SAP NetWeaver sap.product.version: '7.50' sap.sid: AUT status.details: All components of system AUT reported status [up]. status.timestamp: '1676268039' components: [] dependencies: [] dependents: [] description: SAP NetWeaver 7.50 foreignComponents: [] id: 1056 name: AUT status: up tags: - id: 15 name: Linz tagGroup: color: '#148c8a' id: 3 name: DC type: sap type_name: SAP ABAP type: sap-as-abap type_name: SAP ABAP Application Server description: '' hostname: aut-aut-app1.automatics.at id: 915 name: aut-aut-app1 parent: null possibleChildren: [] possibleParents: [] status: up tags: - id: 15 name: Linz tagGroup: color: '#148c8a' id: 3 name: DC technical_information: 'Linux ' type: server type_name: Server type: list system_ids: description: automatics System-IDs running on given nodes grouped by automatics System-Type returned: always sample: all: - 1001 - 1002 - 1003 - 1004 - 1005 sap: - 1001 - 1002 sap-hana-db: - 1005 sap-wdp: - 1003 - 1004 type: dict