Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make statusport really optional #1400

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

darkobas2
Copy link

Status port is supposed to be configured when zabbix_agent2_statusport is defined. Since its defined in defaults its always defined. Therefore we remove it from default

roles/zabbix_agent/templates/agent.conf.j2

  • {{ (zabbix_agent_statusport is defined and zabbix_agent_statusport is not none) | ternary('', '# ') }}StatusPort={{ zabbix_agent_statusport | default('') }}

  • replacement patch for fix: make statusport really optional #1376 as it was already deleted

Status port is supposed to be configured when zabbix_agent2_statusport
is defined. Since its defined in defaults its always defined.
Therefore we remove it from default

roles/zabbix_agent/templates/agent.conf.j2
  - {{ (zabbix_agent_statusport is defined and zabbix_agent_statusport is not none) | ternary('', '# ') }}StatusPort={{ zabbix_agent_statusport | default('') }}

- replacement patch for ansible-collections#1376 as it was already deleted
@pyrodie18
Copy link
Collaborator

@darkobas2 thanks for the PR. As I said in the ticket though, we'll pull this in for 4.0 but I don't expect us to be releasing that any time soon.

Thanks,
Troy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants