No description
  • Jinja 88.1%
  • Makefile 6.1%
  • Shell 5.8%
Find a file
2021-07-05 11:21:09 +02:00
bin Add bootstrap 2020-04-14 21:13:02 +02:00
default Add laptop firewall 2020-04-16 22:22:40 +02:00
roles Update PATH for asdf 2021-07-05 11:21:09 +02:00
vars add/variable alternate users 2021-06-06 23:49:46 +02:00
.gitignore update 2.9 2020-04-08 23:12:08 +02:00
computer.yml add/new role to computer 2021-06-06 23:50:44 +02:00
LICENSE 📄 Add license 2021-04-29 23:26:13 +02:00
Makefile Add init to Makefile 2021-02-10 23:22:55 +01:00
README.md doc/upgrade paramlist 2021-06-06 23:51:54 +02:00

PC as Code

All my configuration files and Debian config by code !

Ansible version > ansible 2.9.X

Build for deploy my environment on laptop, PC and GNU/Linux bastion.

Warning : This code is build for Debian 9+.

Inputs (vars/user.yml)

Variables Types Description
user string User name for my user
gui bool Used to set if you need to configure GNOME 3 environment
forward bool Used to set if you need to allow the FORWARD iptables tables
custom_hostname string Custom hostname for the computer
timezone string Current timezone for user
tmp_dir string Temporary directory
vagrant_version string Version of Vagrant to use
architecture string Your computer infrastrucutre
dns_servers list(string) List of DNS servers to set
alt_env list(string) List of alternative user

Roles

  • User : create user, create ssh key and add it to sudoers
  • Packages : Install softwares, apt, pip, gem and Vagrant
  • Dotfiles : Deploy my dotfiles, .zshrc, .gitconfig, .tmux.conf
  • Security : Setup iptables rules make it permanent
  • gnome : if your set "gui" configure Gnome 3

How configure your own user ?

Create your own variable user files ! Or fork it for more possibilities ;)

If you juste need my dotfiles

Checkout ./roles/dotfiles/files/