Ansible collection
  • Shell 87.9%
  • Vim Script 8%
  • Jinja 4.1%
Find a file
2026-06-16 20:48:41 +02:00
roles fix: duplicate var 2026-06-16 20:48:41 +02:00
galaxy.yml add: Base code 2025-04-26 01:30:44 -04:00
README.md add: doc 2025-04-26 01:41:06 -04:00

Ansible Collection - Debian

Provides few generic roles for Debian systems

Base Debian roles:

  • os_update
    • Provide few action to update system
  • os_base
    • Ensure wheel and sudo groups exists
    • Create each POSIX users
    • Ensure authorized_keys are setup for each users
    • Ensure APT is in minimal mode
    • Install generic system tools
    • Manage /etc/sudoers.d/wheel
    • Add each granted POSIX account to sudo group (w/ passwords)
  • os_disk
    • Ensure LVM is installed
    • Copy a LVM script on target
    • Ensure all VG are correctly setup
    • Ensure all LV are correctly setup
    • Ensure all filesystems are created
    • Mount and update /etc/fstab
  • os_tweaks
    • Ensure minimal system pacakges are installed
    • Configure system bash with: /etc/profile.d/bash_tweaks.sh
    • Install system git config: /etc/gitconfig
    • Configure vim: /etc/vim/vimrc.local

Other roles:

  • nfs_client:

    • Install nfs packages
    • Create mount points directories
    • Mount NFS volumes
  • nfs_server:

    • Install nfs server packages
    • Handle /etc/exports configuration
    • Restart NFS server on changes