dellemc / dellemc.openmanage / 2.1.5 / module / ome_template_info Retrieves template details from OpenManage Enterprise. | "added in version" 2.9.10 of dellemc.openmanage" Authors: Sajna Shetty(@Sajna-Shetty) preview | supported by communitydellemc.openmanage.ome_template_info (2.1.5) — module
Install with ansible-galaxy collection install dellemc.openmanage:==2.1.5
collections: - name: dellemc.openmanage version: 2.1.5
This module retrieves the list and details of all the templates on OpenManage Enterprise.
--- - name: Retrieve basic details of all templates. dellemc.openmanage.ome_template_info: hostname: "192.168.0.1" username: "username" password: "password"
- name: Retrieve details of a specific template identified by its template ID. dellemc.openmanage.ome_template_info: hostname: "192.168.0.1" username: "username" password: "password" template_id: 1
- name: Get filtered template info based on name. dellemc.openmanage.ome_template_info: hostname: "192.168.0.1" username: "username" password: "password" system_query_options: filter: "Name eq 'new template'"
port: default: 443 description: Target HTTPS port. type: int hostname: description: Target IP address or hostname. required: true type: str password: description: Target user password. required: true type: str username: description: Target username. required: true type: str template_id: description: Unique Id of the template. type: int system_query_options: description: Options for pagination of the output. suboptions: filter: description: Filter records by the supported values. type: str type: dict
msg: description: Over all template facts status. returned: on error sample: Failed to fetch the template facts type: str template_info: description: Details of the templates. returned: success sample: 192.168.0.1: CreatedBy: system CreationTime: '1970-01-31 00:00:56.372144' Description: Tune workload for Performance Optimized Virtualization HasIdentityAttributes: false Id: 1 IdentityPoolId: 0 IsBuiltIn: true IsPersistencePolicyValid: false IsStatelessAvailable: false LastUpdatedBy: null LastUpdatedTime: '1970-01-31 00:00:56.372144' Name: iDRAC Enable Performance Profile for Virtualization SourceDeviceId: 0 Status: 0 TaskId: 0 TypeId: 2 ViewTypeId: 4 type: dict