--- # File: gather_hp_oneview_enclosure.yml - name: Gather and display HP OneView server hardware details hosts: localhost gather_facts: false connection: local vars: oneview_url: "https://hpeoneview01.EXAMPLE-CORP.COM" oneview_user: "wXXXXXXadm" oneview_pass: "your-password-here" oneview_api_version: "300" roles: - gather_hp_oneview_enclosure