ansible-roles/evolinux-base/tasks/main.yml
Gregory Colpart 5226082db0 evolinux-base and admin-users are only compatible Debian >=8, declare once in main.yml and that's all
(will be probably generalized to others modules if needed)
2017-08-22 01:37:04 +02:00

68 lines
1.4 KiB
YAML

---
- fail:
msg: only compatible with Debian >= 8
when:
- ansible_distribution == "Debian"
- ansible_distribution_major_version | version_compare('8', '<')
- name: Hostname
include: hostname.yml
when: evolinux_hostname_include
- name: Kernel tuning
include: kernel.yml
when: evolinux_kernel_include
- name: Apt configuration and packages install
include: apt.yml
when: evolinux_apt_include
- name: Fstab configuration
include: fstab.yml
when: evolinux_fstab_include
- name: Packages
include: packages.yml
when: evolinux_packages_include
- name: System settings
include: system.yml
when: evolinux_system_include
- name: Root user configuration
include: root.yml
when: evolinux_root_include
- name: SSH configuration
include: ssh.yml
when: evolinux_ssh_include
- name: Postfix
include: postfix.yml
when: evolinux_postfix_include
- name: Logs management
include: logs.yml
when: evolinux_logs_include
- name: Default index page
include: default_www.yml
when: evolinux_default_www_include
- name: Hardware drivers and tools
include: hardware.yml
when: evolinux_hardware_include
- name: Customize for Online.net
include: provider_online.yml
when: evolinux_provider_online_include
- name: Customize for Orange FCE
include: provider_orange_fce.yml
when: evolinux_provider_orange_fce_include
- name: Override Logmail service
include: log2mail.yml
when: evolinux_packages_serveur_base