diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4737f6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +files/id_ed25519.pub \ No newline at end of file diff --git a/README.md b/README.md index 5009a31..e722cf3 100644 --- a/README.md +++ b/README.md @@ -2,16 +2,45 @@ Projet qui vise à automatiser l'installation et la configuration d'une machine serveur du garage sous Linux Debian. -## INFOS +## PAQUETS / TASKS -Ce playbook installe les services suivant: -- git -- nginx -- docker -- docker-compose -- fail2ban -- ufw -- clamAV +- Tasks: + - apt_update.yml + - basic_install.yml + - create_workspace.yml + - nginx.yml + - docker.yml + - certbot.yml + - clamav + - fail2ban.yml + - ufw.yml + - ssh.yml + +- Dépendances: + - rsyslog + - wget + - curl + - git + - vim + - htop + - btop + - net-tools + - unzip + - gnupg + - lsb-release + - ca-certificates + - software-properties-common + - apt-transport-https + - bash-completion + +- Services: + - git + - nginx + - docker + - docker-compose + - fail2ban + - ufw + - clamAV ## PRE REQUIS @@ -46,7 +75,12 @@ ansible-playbook -i hosts playbook.yml --user=username --extra-vars "ansible_sud ``` > ssh_port changera le port de connection ssh de la machine cible +## DOCUMENTATION + +- [Ansible](https://docs.ansible.com/ansible/latest/index.html) +- [Debian](https://wiki.debian.org/fr/SystemAdministration) + ## TO DO -- [ ] update sources.list +- [ ] update sources.list for Debian 13 - [ ] test \ No newline at end of file diff --git a/files/sources.list b/files/sources.list index 0fdffe5..0a316f6 100644 --- a/files/sources.list +++ b/files/sources.list @@ -1,39 +1,24 @@ -#### MAIN +#### TRIXIE BASIC SOURCES.LIST #### -## MAIN-1 +## MAIN -deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free -deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free +deb https://deb.debian.org/debian trixie main contrib non-free-firmware non-free +deb-src https://deb.debian.org/debian trixie main contrib non-free-firmware non-free ## UPDATES -deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free -deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free +deb https://deb.debian.org/debian trixie-updates main contrib non-free-firmware non-free +deb-src https://deb.debian.org/debian trixie-updates main contrib non-free-firmware non-free ## SECURITY -deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free -deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free +deb https://security.debian.org/debian-security trixie-security main contrib non-free-firmware non-free +deb-src https://security.debian.org/debian-security trixie-security main contrib non-free-firmware non-free ## BACKPORTS -deb http://deb.debian.org/debian/ bookworm-backports main non-free-firmware contrib non-free -deb-src http://deb.debian.org/debian bookworm-backports main non-free-firmware contrib non-free +deb https://deb.debian.org/debian trixie-backports main contrib non-free-firmware non-free +deb-src https://deb.debian.org/debian trixie-backports main contrib non-free-firmware non-free - - -#### UNSTABLE -# deb http://deb.debian.org/debian/ unstable main non-free-firmware contrib non-free - -#### EXPERIMENTAL -#deb http://deb.debian.org/debian/ experimental main non-free-firmware contrib non-free - -#### TESTING -## TESTING-MAIN -# deb http://deb.debian.org/debian/ testing main non-free-firmware contrib non-free - -## TESTING-SECURITY -# deb http://security.debian.org/debian-security testing-security main non-free-firmware contrib non-free -# deb http://security.debian.org/ testing-security main non-free-firmware contrib non-free