Debian Codegraph @

ansible_collections/community/zabbix/roles/zabbix_web/tasks/selinux.yml

raw symbols SCIP
1 ---
2 - name: "SELinux | Install related SELinux package"
3 ansible.builtin.package:
4 name:
5 - python3-libsemanage
6 - python3-policycoreutils
7 environment:
8 http_proxy: "{{ zabbix_http_proxy | default('') }}"
9 https_proxy: "{{ zabbix_https_proxy | default('') }}"
10 register: zabbix_web_dependencies_installed
11 until: zabbix_web_dependencies_installed is succeeded
12 become: true
13 tags:
14 - install
15
16 - name: "SELinux | Set booleans"
17 ansible.posix.seboolean:
18 name: "{{ item.name }}"
19 state: "{{ item.state }}"
20 persistent: true
21 become: true
22 tags:
23 - config
24 loop:
25 - name: httpd_can_network_connect_db
26 state: "{{ selinux_allow_httpd_can_network_connect_db | bool }}"
27 - name: httpd_can_connect_zabbix
28 state: "{{ selinux_allow_httpd_can_connect_zabbix | bool }}"
29 - name: httpd_can_connect_ldap
30 state: "{{ selinux_allow_httpd_can_connect_ldap | bool }}"