You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vincent 12f1559ac6 remove arch keyring install 5 days ago
group_vars switch gitea private key to all 5 days ago
host_vars add hosts file variable 6 days ago
library uodate library aur 2 years ago
roles linting 3 months ago
test-role add test role samba 2 weeks ago
.ansible-lint linting 3 months ago
.drone.yml add .drone.yml 3 months ago
.gitignore add vault file 2 years ago
.gitmodules add git module aur 2 years ago
.markdownlint.yaml add .markdownlint.yaml 3 months ago
.yamllint linting 3 months ago
README.md fix readme 3 months ago
ansible-vault-pass.sh add recovery vault password from bitwarden 4 months ago
ansible.cfg add roles to ansible roles path 3 months ago
bootstrap.yml remove arch keyring install 5 days ago
build.yml add admin user 2 weeks ago
debian.yml linting 3 months ago
global.yml add hass client control 1 year ago
music-player.yml add admin user 2 weeks ago
production review inventory 4 months ago
provisionning.yml linting 3 months ago
server.yml remove termite terminfo installation 2 weeks ago
site.yml review inventory 4 months ago
staging review inventory 4 months ago
workstation.yml linting 3 months ago

README.md

ansible

commande ansible

launch playbook on staging `ansible-playbook -i staging site.yml --vault-password-file=./ansible-vault-pass.sh

init new role architecture ansible-galaxy user_config init

launch ansible bootstrap ansible-playbook -i nas, bootstrap.yml -u root --ask-pass

encrypt string ansible-vault encrypt_string

avant de lancer le playbook

  • vérifier que l'identité SSH et bien enregistrer dans l'agent
  • si la machine a déja une partie des logiciel instalé forcé l'upgrade (il vaut mieux partir d'une machien from scratch que d'une machine a moitier passé par le playbook)
  • si le role userconfig est déja descendu s'assurer que le repo local de la machine n'a pas de modification a pushé

Prerequis

  • python
  • sudo

TODO

Global Roles

  • system role:

    • install ansible aur module
    • soft install (zsh,vim,)
  • user profil config

  • ansible bootstrap

    • install python
    • install sudo
    • create user
    • copy clé RSA
  • samba automount role

    • géré les credential en fichier
    • initialisé les variable pour les diferent périphérique
  • davfs mount

  • VM server

  • syncthing role

Workstation roles

  • mpd role

  • ansible manager

    • install ansible
    • install ansible aur module
    • clone ansible repo
  • workstation role

  • -need to check for nvidia drver

  • cups

  • bluetooth et tlp pour laptop

  • grubtheme

Server Roles

  • terminfo

  • server role

    • cron
    • msmtp
  • rsyncd role

  • failtoban role

  • nginx/php role

    • install
    • config
  • dns role -slave/primary

  • mariadb role

    • install
    • config
    • (voir pouquoi l'init de mysql ne fonctionne pas dans ansible)
  • tt-rss role

    • depend nginx & madiadb role
    • fail2ban jail
  • gitea role

    • depend of mariadb role
  • backup role?

    • controle du reboot

global improvment

  • voir pour compatibiliser debian
  • variabiliser