---
- hosts: idrac
  connection: local
  name: Configure the iDRAC timezone attributes
  gather_facts: False

  collections:
    - dellemc.openmanage

  tasks:
  - name: Setup iDRAC Timezone
    idrac_timezone_ntp:
       idrac_ip:   "{{ idrac_ip }}"
       idrac_user: "{{ idrac_user }}"
       idrac_password:  "{{ idrac_password }}"
       share_name: "{{ playbook_dir }}"
       setup_idrac_timezone: "Singapore"
       enable_ntp: "Disabled"
       ntp_server_1: "100.100.25.1"
       ntp_server_2: "100.100.26.2"
       ntp_server_3: "100.100.27.3"

    tags:
      - idrac_timezone