---

- name: Setup adns service
  delegate_to: localhost
  register: result
  check_mode: "{{ check_mode }}"
  netscaler_service:

    nitro_user: "{{nitro_user}}"
    nitro_pass: "{{nitro_pass}}"
    nsip: "{{nsip}}"
    state: present

    name: service-adns
    ipaddress: 192.168.1.3
    port: 80
    servicetype: ADNS
