ansible-role-basic-system-s.../defaults/main.yml

141 lines
4.6 KiB
YAML
Raw Normal View History

2020-05-21 13:05:50 +02:00
---
# timezone
timezone: 'Europe/Rome'
2020-05-22 19:26:37 +02:00
default_locale_lang: "en_US.UTF-8"
2020-07-30 18:30:45 +02:00
default_deb_locale_messages: "C.UTF-8"
default_el_locale_messages: "en_US.UTF-8"
locales_list:
- { name: '{{ default_locale_lang }}' }
2020-05-22 19:26:37 +02:00
- { name: 'en_US.UTF-8' }
- { name: 'en_US' }
- { name: 'it_IT.UTF-8' }
- { name: 'it_IT' }
2021-07-01 17:14:16 +02:00
domain_name: '{{ ansible_domain }}'
2020-10-29 18:29:49 +01:00
#
2021-02-16 16:10:13 +01:00
# Define the following variables to manage additional disks and mount points, even static nfs ones
2020-10-29 18:29:49 +01:00
additional_disks: False
disks_and_mountpoints_list: []
# - { mountpoint: '/data', device: 'xvda3', fstype: 'xfs', opts: 'noatime', state: 'mounted', create_filesystem: True }
2021-07-01 17:14:16 +02:00
idmap_verbosity: 0
idmap_conf_options:
- { section: 'General', option: 'Domain', value: '{{ domain_name }}', state: 'present' }
- { section: 'General', option: 'Verbosity', value: '{{ idmap_verbosity }}', state: 'present' }
2021-02-16 16:10:13 +01:00
# autofs mount points
autofs_client_mountpoint: False
2021-06-23 15:40:25 +02:00
autofs_conf_options:
- { section: 'autofs', option: 'master_map_name', value: '/etc/auto.master', state: 'present' }
- { section: 'autofs', option: 'timeout', value: '300', state: 'present' }
- { section: 'autofs', option: 'negative_timeout', value: '60', state: 'present' }
- { section: 'autofs', option: 'mount_nfs_default_protocol', value: '4', state: 'present' }
- { section: 'autofs', option: 'logging', value: 'none', state: 'present' }
- { section: 'amd', option: 'dismount_interval', value: '300', state: 'present' }
2021-02-16 16:10:13 +01:00
autofs_packages_deb:
- autofs
autofs_packages_el:
- autofs
# path: without the initial /
autofs_maps: []
# - { map_name: 'data', mountpoint_prefix: '/', path: 'data', nfs_server: 'nfs.example.com', remote_export: '/export', is_home: False }
2021-02-16 16:10:13 +01:00
2022-03-21 14:28:24 +01:00
nfs_server_enabled: False
nfs_server_ganesha_enabled: '{{ nfs_server }}'
nfs_server_ganesha_el_repos:
- centos-release-nfs-ganesha28
- centos-release-ceph-nautilus
nfs_server_ganesha_el_pkgs:
- nfs-utils
- nfs4-acl-tools
- nfs-ganesha
- nfs-ganesha-vfs
- librados2
nfs_server_ganesha_deb_pkgs:
- 'nfs-ganesha'
- 'nfs-ganesha-vfs'
- 'nfs-ganesha-xfs'
#Protocols = 3,4,9P;
nfs_server_ganesha_server_protocols: '4'
nfs_server_ganesha_path_pseudo: False
nfs_server_ganesha_mdcache: False
nfs_server_ganesha_mdcache_hwmark: 100000
nfs_server_ganesha_exports: []
# name, id, path, pseudo_path, access_type (RW, RO), protocols (global), squash (true,false), disable_actl (true,false), sectype, fsal (VFS, XFS), clients
# (*) indicate an optional parameter
# - name: export_filename
# id: 1
# path: /export
# pseudo: /nfs_export
# access_type(*): 'RW'
# protocols(*): '{{ nfs_server_ganesha_server_protocols }}'
# squash(*): 'root_squash'
# disable_acl(*): 'false'
# sectype(*): 'sys'
# nfs_commit(*): 'false'
# delegations(*): 'none'
# fsal: 'VFS'
# clients:
# - host1
# - hostN
2020-10-29 18:21:13 +01:00
# tmpreaper
tmpreaper_install: False
tmpreaper_protect_extra: ''
tmpreaper_dirs: '/tmp/.'
tmpreaper_extra_dirs: ''
2020-10-29 18:21:13 +01:00
tmpreaper_delay: '256'
tmpreaper_additional_options: ''
tmpreaper_time: '7d'
#
enable_env_proxy: False
env_proxy_http_host: 'localhost'
env_proxy_http_port: '3128'
env_proxy_http_protocol: 'http'
env_proxy_https_protocol: '{{ env_proxy_http_protocol }}'
env_proxy_http_url: '{{ env_proxy_http_protocol }}://{{ env_proxy_http_host }}:{{ env_proxy_http_port }}'
env_proxy_https_url: '{{ env_proxy_http_url }}'
env_proxy_protocols:
- 'http_proxy'
- 'https_proxy'
- 'ftp_proxy'
- 'HTTP_PROXY'
- 'HTTPS_PROXY'
- 'FTP_PROXY'
env_proxy_use_authentication: False
env_proxy_username: ''
env_proxy_password: ''
no_proxy_targets:
- '::1'
- '127.0.0.1'
- 'localhost'
trusted_ca_el_anchors_path: '/etc/pki/ca-trust/source/anchors'
trusted_ca_deb_path: '/usr/local/share/ca-certificates'
# it shoudn't be needed
trusted_ca_letsencrypt_install: False
2021-09-29 22:56:29 +02:00
trusted_ca_letsencrypt_ca_certificates_url: https://letsencrypt.org/certs
trusted_ca_letsencrypt_ca_files:
2021-09-30 16:42:19 +02:00
- { ca_src: 'isrgrootx1.pem', ca: 'isrgrootx1.crt', name: 'isrg-root-x1' }
- { ca_src: 'isrg-root-x2.pem', ca: 'isrg-root-x2.crt', name: 'isrg-root-x2-not-cross' }
- { ca_src: 'lets-encrypt-e1.pem', ca: 'lets-encrypt-e1.crt', name: 'lets-encrypt-e1' }
- { ca_src: 'lets-encrypt-e2.pem', ca: 'lets-encrypt-e2.crt', name: 'lets-encrypt-e2' }
- { ca_src: 'lets-encrypt-r3.pem', ca: 'lets-encrypt-r3.crt', name: 'lets-encrypt-r3-not-cross' }
- { ca_src: 'lets-encrypt-r4.pem', ca: 'lets-encrypt-r4.crt', name: 'lets-encrypt-r4-not-cross' }
expired_ca_letsencrypt_ca_files:
2021-09-28 16:54:44 +02:00
- isrg-root-x2-cross-signed.pem
- lets-encrypt-r3-cross-signed.pem
- lets-encrypt-x3-cross-signed.pem
2021-09-28 16:54:44 +02:00
- letsencryptauthorityx3.pem
trusted_ca_additional_ca_files: []
# - { can_url: 'https://example.com/foo-ca.pem', ca: 'foo-ca.pem', name: 'foo-ca' }