такие "ворнинги" . Не оч получается найти решение в гугле. Может сталкивался кто?
[WARNING]: Option "server_url" is deprecated with the move to httpapi connection and will be removed in the next release
[WARNING]: Option "login_user" is deprecated with the move to httpapi connection and will be removed in the next release
[WARNING]: Option "login_password" is deprecated with the move to httpapi connection and will be removed in the next release
[WARNING]: Option "timeout" is deprecated with the move to httpapi connection and will be removed in the next release
[WARNING]: Option "validate_certs" is deprecated with the move to httpapi connection and will be removed in the next release
А тут читать пробовал? https://docs.ansible.com/ansible/devel/collections/community/zabbix/zabbix_user_role_module.html
Я видел, не оч понял идею. Типа будут браться данные из переменной окружения?
# Set following variables for Zabbix Server host in play or inventory - name: Set connection specific variables set_fact: ansible_network_os: community.zabbix.zabbix ansible_connection: httpapi ansible_httpapi_port: 80 ansible_httpapi_use_ssl: false ansible_httpapi_validate_certs: false ansible_zabbix_url_path: 'zabbixeu' # If Zabbix WebUI runs on non-default (zabbix) path ,e.g. http://<FQDN>/zabbixeu
Теперь понял Зря проигнорировал примеры. Спасибо огромное)
Обсуждают сегодня