Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Ansible

A collection of Ansible roles I created to administer my servers

  • dns - DNS adblocking and custom domains with bind9 including a whitelist and scripts to maintain the domains.
  • git - Creates git user and sets up the .ssh directory. A future role will use this and configure cgit for web browsing of git repositories.
  • nftables - Provides a base for the firewall that roles for networked services depend on.
  • samba - Sets up a samba network share. Still needs work.
  • sshd - Configures sshd and deploys .ssh/authorized_users files.
  • transmission-daemon - Configures transmission-daemon.
  • twitch - systemd service to archive Twitch streams including a script to download the livechats.
  • youtube - systemd service to archive YouTube videos and channels.
  • yt-dlp - Installs yt-dlp from the Debian Unstable distribution.
  • zfs - Enables automatic scrubbing for ZFS pools.

All of the roles have been configured with sensible defaults and they can run without further configuration, though the project is still a work in progress. More roles and configuration options will be added and documented as I continue to migrate my servers' configuration to Ansible. The goal is for the entire system's configuration to be documented and handled by Ansible from the initial installation of the operating system, along with other build scripts that provision the server with ZFS root directories, bootloader configurations, etc.

Note that the roles assume a Debian-based Linux distribution using systemd.

License

Copyright (c) 2026 Alejandro Ramos

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A collection of Ansible roles I created to administer my servers.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Contributors

Languages