ansible-collections / community.grafana

Grafana Collection for Ansible
http://galaxy.ansible.com/community/grafana
GNU General Public License v3.0
131 stars 83 forks source link

Grafana plugins parameter missing #289

Closed miksonx closed 10 months ago

miksonx commented 2 years ago
SUMMARY

Validate certs option available in code https://github.com/ansible-collections/community.grafana/blob/main/plugins/modules/grafana_plugin.py#L119

but not available as parameter https://github.com/ansible-collections/community.grafana/blob/main/plugins/modules/grafana_plugin.py#L234

ISSUE TYPE
COMPONENT NAME

grafana_plugin

ANSIBLE VERSION
2.12.2
COLLECTION VERSION
Colletion  Version
----------------------
community.general 1.3.2

Colletion  Version
----------------------
community.general 1.5.3
CONFIGURATION
OS / ENVIRONMENT

RH8

STEPS TO REPRODUCE
- name: Install plugins
  community.grafana.grafana_plugin:
    name: alexanderzobnin-zabbix-app
    version: 4.2.10
    state: present
    validate_certs: False
EXPECTED RESULTS

No error and command to be executed with --insecure

ACTUAL RESULTS

"msg": "Unsupported parameters for (community.grafana.grafana_plugin) module: validate_certs. Supported parameters include: grafana_plugins_dir, state, grafana_plugin_url, version, grafana_repo, name."

rndmh3ro commented 1 year ago

Issue can be closed - fixed by https://github.com/ansible-collections/community.grafana/pull/290