Skip to content

Commit

Permalink
Removed throttle
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenvermeulen committed Jun 1, 2024
1 parent 5aabbb2 commit aac96c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion roles/zabbix_agent/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ zabbix_api_login_user: Admin
zabbix_api_use_ssl: false
zabbix_api_login_pass: !unsafe zabbix
zabbix_api_validate_certs: false
zabbix_api_throttle: 9999
ansible_httpapi_pass: "{{ zabbix_api_login_pass }}"
ansible_httpapi_port: "{{ zabbix_api_server_port }}"
ansible_httpapi_validate_certs: "{{ zabbix_api_validate_certs }}"
Expand Down
3 changes: 0 additions & 3 deletions roles/zabbix_agent/tasks/api.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
- name: "API | Create host groups"
throttle: "{{ zabbix_api_throttle | int }}"
community.zabbix.zabbix_group:
host_groups: "{{ zabbix_host_groups }}"
state: present
Expand All @@ -13,7 +12,6 @@
- api

- name: "API | Create a new host or update an existing host's info"
throttle: "{{ zabbix_api_throttle | int }}"
community.zabbix.zabbix_host:
host_name: "{{ zabbix_agent_hostname }}"
host_groups: "{{ zabbix_host_groups }}"
Expand Down Expand Up @@ -46,7 +44,6 @@
- api

- name: "API | Updating host configuration with macros"
throttle: "{{ zabbix_api_throttle | int }}"
community.zabbix.zabbix_hostmacro:
host_name: "{{ zabbix_agent_hostname }}"
macro_name: "{{ item.macro_key }}"
Expand Down

0 comments on commit aac96c9

Please sign in to comment.