ansible-collections / community.network

Ansible Community Network Collection
http://galaxy.ansible.com/community/network
Other
124 stars 89 forks source link

module netscaler_service has improper example #221

Open djohnson1865 opened 3 years ago

djohnson1865 commented 3 years ago
SUMMARY

In the module netscaler_service documentation, the only example listed has an improper configuration.

# Monitor monitor-1 must have been already setup

- name: Setup http service
  gather_facts: False
  delegate_to: localhost
  netscaler_service:
    nsip: 172.18.0.2
    nitro_user: nsroot
    nitro_pass: nsroot

    state: present

    name: service-http-1
    servicetype: HTTP
    ipaddress: 10.78.0.1
    port: 80

    monitor_bindings:
      - monitor-1

However, the monitor under monitor_bindings should be a dictionary not a string. I'm not familiar enough to know what the preferred yaml style would be for ansible documentation, but I think the example should be more along the lines of

    monitor_bindings:
      - { monitorname: monitor-1 }

The existing example will throw an error if used similarly.

ISSUE TYPE
COMPONENT NAME

netscaler_service

ANSIBLE VERSION

Not applicable, in online documentation, but valid for Ansible 2.9

ansibullbot commented 3 years ago

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 3 years ago

cc @chiradeep @giorgos-nikolopoulos click here for bot help

ansibullbot commented 3 years ago

@djohnson1865, just so you are aware we have a dedicated Working Group for network. You can find other people interested in this in #ansible-network on Freenode IRC For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

giorgos-nikolopoulos commented 3 years ago

@djohnson1865

The modules in the community.network collection are not maintained.

Please use the citrix.adc collection from galaxy or install the same from the github repository.

Instructions for installation from the repository can be found here.