This commit is contained in:
parent
d2f85566a9
commit
e1a77260cd
46
README.md
46
README.md
@ -2,55 +2,55 @@
|
||||
|
||||
## commande ansible
|
||||
|
||||
***launch playbook on staging***
|
||||
`ansible-playbook -i staging site.yml --vault-password-file=./ansible-vault-pass.sh
|
||||
**_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 `
|
||||
**_init new role architecture_**
|
||||
`ansible-galaxy user_config init`
|
||||
|
||||
***launch ansible bootstrap***
|
||||
` ansible-playbook -i nas, bootstrap.yml -u root --ask-pass`
|
||||
**_launch ansible bootstrap_**
|
||||
`ansible-playbook -i nas, bootstrap.yml -u root --ask-pass`
|
||||
|
||||
***encrypt string***
|
||||
**_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
|
||||
|
||||
- [x] system role:
|
||||
|
||||
- install ansible aur module
|
||||
- soft install (zsh,vim,)
|
||||
|
||||
- [x] user profil config
|
||||
- [x] user profil config
|
||||
|
||||
- [x] ansible bootstrap
|
||||
|
||||
- install python
|
||||
- install sudo
|
||||
- create user
|
||||
- copy clé RSA
|
||||
|
||||
- [x] samba automount role
|
||||
- géré les credential en fichier
|
||||
- initialisé les variable pour les diferent périphérique
|
||||
|
||||
- géré les credential en fichier
|
||||
- initialisé les variable pour les diferent périphérique
|
||||
|
||||
- [x] davfs mount
|
||||
|
||||
- [x] VM server
|
||||
|
||||
- [x] syncthing role
|
||||
|
||||
### Workstation roles
|
||||
@ -58,6 +58,7 @@
|
||||
- [x] mpd role
|
||||
|
||||
- [x] ansible manager
|
||||
|
||||
- install ansible
|
||||
- install ansible aur module
|
||||
- clone ansible repo
|
||||
@ -66,47 +67,44 @@
|
||||
- -need to check for nvidia drver
|
||||
- [x] cups
|
||||
- [x] bluetooth et tlp pour laptop
|
||||
|
||||
- [x] grubtheme
|
||||
|
||||
|
||||
### Server Roles
|
||||
|
||||
- terminfo
|
||||
- terminfo
|
||||
|
||||
- server role
|
||||
- [x] cron
|
||||
- [x] msmtp
|
||||
|
||||
|
||||
- [x] rsyncd role
|
||||
|
||||
- [x] failtoban role
|
||||
|
||||
- [x] nginx/php role
|
||||
|
||||
- install
|
||||
- config
|
||||
|
||||
- [x] dns role
|
||||
-slave/primary
|
||||
|
||||
-slave/primary
|
||||
|
||||
- [x] mariadb role
|
||||
|
||||
- install
|
||||
- config
|
||||
- (voir pouquoi l'init de mysql ne fonctionne pas dans ansible)
|
||||
|
||||
- [x] tt-rss role
|
||||
|
||||
- depend nginx & madiadb role
|
||||
- fail2ban jail
|
||||
|
||||
- [x] gitea role
|
||||
|
||||
- depend of mariadb role
|
||||
|
||||
- [ ] backup role?
|
||||
- controle du reboot
|
||||
|
||||
|
||||
|
||||
#### global improvment
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user