Skip to content

tocproject.toc.base

Tip

  • System-level configuration

Role defaults

Basics

  • Defaults to a variation of inventory_hostname because underscores are not valid characters in host names.
    toc_base_hostname: "{{ inventory_hostname | replace('_', '-') }}"
    
  • Private domain
    toc_base_domain: "{{ toc_private_domain }}"
    
  • System locale
    toc_base_language: 'fr_FR'
    
  • Banner and message of the day text content
    toc_base_banner_text: "T.O.C."
    

Time configuration

toc_base_timezone: "Europe/Paris"
toc_base_ntp_server_upper_stratum:
  - "0.pool.ntp.org"
  - "1.pool.ntp.org"
  - "2.pool.ntp.org"
  - "3.pool.ntp.org"
toc_base_ntp_restrict:
  - "127.0.0.1"
  - "::1"

Python packages

toc_base_pip_packages:
  - "ansible-core"
  - "bcrypt"
  - "bpytop"
  - "cryptography"
  - "dnspython"
  - "passlib"

Sysctl configuration

toc_base_sysctl_vm_swappiness: "10"
toc_base_sysctl_vm_vfs_cache_pressure: "50"
toc_base_sysctl_vm_overcommit_memory: "0"
toc_base_sysctl_vm_overcommit_ratio: "95"
toc_base_sysctl_net_core_wmem_max: "1048576"
toc_base_sysctl_net_core_rmem_max: "10485760"

Vim configuration

toc_base_vimrc:
  syntax: "on"
  background: "dark"
  tabstop: "4"
  shiftwidth: "4"
  expandtab: true
  noautoindent: true
  mouse: ""
  ttymouse: ""