---

- name: setup lb monitor
  register: result
  check_mode: "{{ check_mode }}"
  delegate_to: localhost
  netscaler_lb_monitor:
    nitro_user: "{{nitro_user}}"
    nitro_pass: "{{nitro_pass}}"
    nsip: "{{nsip}}"
    state: present

    monitorname: lb-monitor-2
    type: SIP-UDP
    customheaders: "HEADER_CUSTOM: NONE\r\n"

    maxforwards: 5
    sipmethod: REGISTER
    sipuri: sip:sip.test
    sipreguri: sip:sip.register

    lrtm: disabled
