Skip to content

Commit

Permalink
Fixed Bool
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrodie18 committed Jun 6, 2024
1 parent 6a53837 commit a8b5bd3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion roles/zabbix_agent/tasks/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
- name: "Configure SELinux when enabled"
ansible.builtin.include_tasks: selinux.yml
when:
- zabbix_agent_selinux | bool | default (false)
- zabbix_agent_selinux | default (false) | bool

- name: "Adding zabbix group"
ansible.builtin.group:
Expand Down
2 changes: 1 addition & 1 deletion roles/zabbix_proxy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
- name: "Configure SELinux when enabled"
ansible.builtin.include_tasks: selinux.yml
when:
- zabbix_proxy_selinux | bool | default (false)
- zabbix_proxy_selinux | default (false) | bool
- ansiblle_os_family == "RedHat"

- name: "Install zabbix-proxy packages"
Expand Down
2 changes: 1 addition & 1 deletion roles/zabbix_server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- name: "Configure SELinux when enabled"
ansible.builtin.include_tasks: selinux.yml
when:
- zabbix_server_selinux | bool | default (false)
- zabbix_server_selinux | default (false) | bool
- ansiblle_os_family == "RedHat"

- name: Install zabbix-server packages
Expand Down
2 changes: 1 addition & 1 deletion roles/zabbix_web/tasks/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
- name: "Configure SELinux when enabled"
ansible.builtin.include_tasks: selinux.yml
when:
- zabbix_web_selinux | bool | default (false)
- zabbix_web_selinux | default (false) | bool

0 comments on commit a8b5bd3

Please sign in to comment.