ansible-roles/evolinux-base
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
..
defaults Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
files domains: revert commits moved to dev branch domains 2022-09-15 10:48:55 +02:00
handlers Remove warning ignores as they are depreciated 2022-12-22 11:32:32 -05:00
meta evolinux-base: increase minimum Ansible version to 2.9 2021-07-02 21:09:26 +02:00
tasks Replace the include module with include_tasks or import_tasks 2023-01-03 14:43:42 +01:00
templates evolinux-base: logs are rotated with dateext by default 2021-09-30 12:07:02 +02:00
tests disable some parts of evolinux-base in tests 2017-04-24 09:46:43 +02:00
vars evolinux: finer grained kernel configuration 2017-03-30 15:33:23 +02:00
.z_kitchen.yml evolinux-base: improve the kitchen recipe 2017-04-20 15:51:48 +02:00
README.md evolinux-base: allow ssh for current user 2017-10-07 13:12:03 +02:00

evolinux-base

Various tasks for Evolinux setup.

Tasks

  • hostname :
  • kernel :
  • apt :
  • fstab :
  • packages :
  • system :
  • root :
  • ssh :
  • postfix :
  • logs :
  • default_www :
  • hardware :
  • provider_online :
  • provider_orange_fce :

Available variables

Each tasks group is included in the main.yml file with a condition based on a variable like evolinux_hostname_include (mostly True by default). The variables can be set to False to disable a task group. Finer grained tasks disabling is done in each group of tasks.

Main variables are:

  • general_alert_email: email address to send various alert messages (default: root@localhost).
  • apt_alert_email: email address to send APT messages to (default: general_alert_email).
  • log2mail_alert_email: email address to send Log2mail messages to (default: general_alert_email).
  • postfix_alias_email: email address for messages sent to root (default: general_alert_email) ;
  • evolinux_apt_upgrade: upgrade packages (default: True)
  • evolinux_apt_hooks: install APT hooks (default: True)
  • evolinux_apt_remove_aptitude: uninstall aptitude (default: True)
  • evolinux_delete_nfs: delete NFS tools (default: True)
  • evolinux_additional_packages: optional additional packages to install (default: [])
  • evolinux_postfix_purge_exim: purge Exim packages (default: True) ;
  • evolinux_ssh_password_auth_addresses: list of addresses that can authenticate with a password (default: [])
  • evolinux_ssh_disable_root: disable SSH access for root (default: False)
  • evolinux_ssh_allow_current_user: don't lock yourself out (default: False)

The full list of variables (with default values) can be found in defaults/main.yml.