mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
---
|
|
allow_duplicates: no
|
|
dependencies:
|
|
- role: mkdir
|
|
- role: system_proxy
|
|
- role: repo_base
|
|
when: ansible_os_family == 'RedHat'
|
|
- role: network
|
|
when: (net_hosts is defined and net_hosts | length > 0) or (net_if is defined and net_if | length > 0)
|
|
- role: iptables
|
|
when: iptables_manage | default(True)
|
|
- role: zabbix_agent
|
|
when: zabbix_agent_servers | length > 0 or zabbix_agent_servers_active | length > 0
|
|
- role: fusioninventory_agent
|
|
when: fusinv_uri is defined and fusinv_uri | length > 0
|
|
- role: sssd_ldap_auth
|
|
when: ldap_auth | default(False)
|
|
- role: sssd_ad_auth
|
|
when: ad_auth | default(False)
|
|
- role: ntp_client
|
|
when: ansible_virtualization_role == 'host' or (ansible_virtualization_type != 'lxc' and ansible_virtualization_type != 'systemd-nspawn')
|
|
- role: sudo
|
|
- role: ssh
|
|
- role: patrix
|
|
when:
|
|
- patrix_enabled | default(True)
|
|
- patrix_server is defined
|
|
- (patrix_user is defined and patrix_pass is defined) or patrix_token is defined
|
|
- role: postfix
|
|
when: system_postfix | default(True)
|
|
- role: timers
|