Go to file
2020-06-04 22:21:05 +02:00
group_vars add hass client control 2020-06-04 22:21:05 +02:00
host_vars finalize nextcloud roles 2020-02-16 16:22:01 +01:00
library uodate library aur 2020-01-18 11:40:47 +01:00
roles/ssmtp role ssmtp 2019-04-14 11:45:39 +02:00
.gitignore add vault file 2019-04-09 17:39:04 +02:00
.gitmodules add git module aur 2019-04-11 18:50:53 +02:00
ansible.cfg delete retry 2019-02-07 19:38:23 +01:00
bootstrap.yml improve bootstrap 2019-04-09 16:34:35 +02:00
chainetv.yml integer chainetv role in playbook 2019-04-27 18:06:20 +02:00
global.yml add hass client control 2020-06-04 22:21:05 +02:00
hass.yml add hass service shutdown 2020-05-18 10:34:14 +02:00
nextcloud.yml finalize nextcloud roles 2020-02-16 16:22:01 +01:00
production migration pi2 to oscar 2020-01-19 13:41:09 +01:00
README.md add prerequisite 2019-10-24 21:44:08 +02:00
server.yml add hass client control 2020-06-04 22:21:05 +02:00
site.yml test dans site file 2019-09-18 23:13:53 +02:00
staging rename VM in staging 2020-01-27 20:07:50 +01:00
supysonic.yml correct supysonic role 2019-08-18 17:34:44 +02:00
workstation.yml add hass client control 2020-06-04 22:21:05 +02:00

ansible

commande ansible

launch playbook on staging ansible-playbook -i staging site.yml --vault-password-file=.vaultpassword

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
    • ssmtp
  • 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