2020-05-21 13:05:50 +02:00
|
|
|
---
|
2023-07-10 11:07:24 +02:00
|
|
|
- name: Python3 requirements for ansible
|
|
|
|
ansible.builtin.import_tasks: ansible-python3-pkgs.yml
|
|
|
|
- name: Set the hostname
|
|
|
|
ansible.builtin.import_tasks: hostname.yml
|
|
|
|
- name: Set the locale
|
|
|
|
ansible.builtin.import_tasks: locale.yml
|
|
|
|
- name: Set the timezone
|
|
|
|
ansible.builtin.import_tasks: timezone.yml
|
|
|
|
- name: Sysctl kernel parameters
|
|
|
|
ansible.builtin.import_tasks: sysctl.yml
|
2023-07-12 19:25:22 +02:00
|
|
|
- name: Create a directory that will contain the local generated certificates
|
|
|
|
ansible.builtin.import_tasks: pki_dir.yml
|
2023-07-10 11:07:24 +02:00
|
|
|
- name: Self signed certificates waiting for the letsencrypt ones
|
|
|
|
ansible.builtin.import_tasks: self_signed_certificate.yml
|
|
|
|
when: letsencrypt_acme_sh_install is defined and letsencrypt_acme_sh_install
|
2023-07-12 19:25:22 +02:00
|
|
|
- name: Certificate from privte CA (mkcert)
|
|
|
|
ansible.builtin.import_tasks: certificate_from_private_ca.yml
|
|
|
|
when:
|
|
|
|
- (letsencrypt_acme_sh_install is not defined) or (not letsencrypt_acme_sh_install)
|
|
|
|
- mkcert_create_certificate
|
2023-07-10 11:07:24 +02:00
|
|
|
- name: HTTP client proxy
|
|
|
|
ansible.builtin.import_tasks: http_client_proxy.yml
|
|
|
|
- name: Manage additiondal disk volumes
|
|
|
|
ansible.builtin.import_tasks: additional_disks.yml
|
2020-10-29 18:29:49 +01:00
|
|
|
when: additional_disks
|
2023-07-10 11:07:24 +02:00
|
|
|
- name: Manage the autofs configuration
|
|
|
|
ansible.builtin.import_tasks: autofs.yml
|
2021-02-16 16:10:13 +01:00
|
|
|
when: autofs_client_mountpoint
|
2023-07-10 11:07:24 +02:00
|
|
|
- name: Manage tmpreaper
|
|
|
|
ansible.builtin.import_tasks: tmpreaper.yml
|
|
|
|
- name: Manage the trusted CAs
|
|
|
|
ansible.builtin.import_tasks: trusted_ca.yml
|
|
|
|
- name: Ganesha NFS
|
|
|
|
ansible.builtin.import_tasks: ganesha-nfs.yml
|
2022-03-21 14:28:24 +01:00
|
|
|
when: nfs_server_ganesha_enabled
|
2023-07-10 11:07:24 +02:00
|
|
|
- name: Linux Kernel NFS server
|
|
|
|
ansible.builtin.import_tasks: nfs-kernel-server.yml
|
2022-05-22 16:56:09 +02:00
|
|
|
when:
|
2022-05-30 15:59:29 +02:00
|
|
|
- nfs_server_enabled
|
2022-05-22 16:56:09 +02:00
|
|
|
- not nfs_server_ganesha_enabled
|