dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
335 stars 163 forks source link

[BUG]: syntax for example playbook https://github.com/dell/dellemc-openmanage-ansible-modules/blob/collections/docs/EXECUTION_ENVIRONMENT.md#use-ansible-runner-to-verify-the-execution-environment #460

Closed ffirg closed 1 year ago

ffirg commented 1 year ago

Bug Description

Example under 3. Create a playbook. has syntax problems and also doesn't pass ansible-lint checks.

Suggest changing to:

---
- hosts: idrac
  connection: local
  name: Get system inventory
  gather_facts: false

  collections:
  - dellemc.openmanage

  tasks:
  - name: Get system inventory.
    idrac_system_info:
      idrac_ip: "{{ inventory_hostname  }}"
      idrac_user: "{{ user }}"
      idrac_password: "{{ password }}"
      validate_certs: false

Component or Module Name

n/a

Ansible Version

n/a

Python Version

n/a

iDRAC/OME/OME-M version

n/a

Operating System

n/a

Playbook Used

n/a

Logs

n/a

Steps to Reproduce

n/a

Expected Behavior

runs successfully

Actual Behavior

syntax errors

Screenshots

No response

Additional Information

No response

sachin-apa commented 1 year ago

Closing the issues as this is fixed with the Release 7.1.0 PR