Go to file
2019-10-06 17:31:59 +02:00
group_vars creation roles docker 2019-10-06 17:31:59 +02:00
host_vars add branch variable chainetv 2019-04-29 16:45:31 +02:00
library add git module aur 2019-04-11 18:50:53 +02: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 create syncthing role finished 2019-04-10 20:25:29 +02:00
production modif inventory file 2019-04-09 16:35:56 +02:00
README.md complete readme 2019-04-17 21:10:11 +02:00
server.yml integredete certbot and reverse proxy config 2019-09-15 19:30:01 +02:00
site.yml add global playbook 2019-04-09 17:03:13 +02:00
staging delete header 2019-08-18 17:35:43 +02:00
supysonic.yml correct supysonic role 2019-08-18 17:34:44 +02:00
workstation.yml divers 2019-04-11 18:54:12 +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

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