mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-03-07 14:00
This commit is contained in:
@@ -4,5 +4,4 @@
|
||||
name: zabbix_agent_port
|
||||
state: "{{ (zabbix_agent_src_ip | length > 0) | ternary('present', 'absent') }}"
|
||||
rules: "-A INPUT -m state --state NEW -p tcp --dport {{ zabbix_agent_port }} -s {{ zabbix_agent_src_ip | join(',') }} -j ACCEPT"
|
||||
when: iptables_manage | default(True)
|
||||
tags: zabbix
|
||||
|
@@ -1,12 +1,22 @@
|
||||
---
|
||||
|
||||
- include: facts.yml
|
||||
- include: install.yml
|
||||
- include: install_{{ ansible_os_family }}.yml
|
||||
- include: selinux.yml
|
||||
- include_tasks: facts.yml
|
||||
tags: always
|
||||
- include_tasks: install.yml
|
||||
tags: always
|
||||
- include_tasks: install_{{ ansible_os_family }}.yml
|
||||
tags: always
|
||||
- include_tasks: selinux.yml
|
||||
when: ansible_selinux.status == 'enabled'
|
||||
- include: conf.yml
|
||||
- include: psk.yml
|
||||
- include: sensors.yml
|
||||
- include: iptables.yml
|
||||
- include: service.yml
|
||||
tags: always
|
||||
- include_tasks: conf.yml
|
||||
tags: always
|
||||
- include_tasks: psk.yml
|
||||
tags: always
|
||||
- include_tasks: sensors.yml
|
||||
tags: always
|
||||
- include_tasks: iptables.yml
|
||||
when: iptables_manage | default(True)
|
||||
tags: always
|
||||
- include_tasks: service.yml
|
||||
tags: always
|
||||
|
@@ -1,5 +1,6 @@
|
||||
---
|
||||
- include: sensors_{{ ansible_os_family }}.yml
|
||||
- include_tasks: sensors_{{ ansible_os_family }}.yml
|
||||
tags: always
|
||||
|
||||
- name: Check if hardware sensors should be detected
|
||||
stat: path=/etc/zabbix/sensors.ini
|
||||
|
Reference in New Issue
Block a user