ansible/README.md

107 lines
1.5 KiB
Markdown
Raw Normal View History

2018-11-27 20:19:50 +00:00
# ansible
2019-01-09 19:52:29 +00:00
## commande ansible
***launch playbook on staging***
2019-04-09 15:39:04 +00:00
`ansible-playbook -i staging site.yml --vault-password-file=.vaultpassword`
2019-01-09 19:52:29 +00:00
***init new role architecture***
`ansible-galaxy user_config init `
***launch ansible bootstrap***
2019-04-09 14:34:35 +00:00
` ansible-playbook -i nas, bootstrap.yml -u root --ask-pass`
2019-04-09 20:17:14 +00:00
*** encrypt string***
2019-04-09 15:39:04 +00:00
` ansible-vault encrypt_string `
2019-01-09 19:52:29 +00:00
2018-11-28 20:21:05 +00:00
## Prerequis
2018-11-29 22:12:41 +00:00
- python
- sudo
2018-11-28 20:21:05 +00:00
2018-11-27 20:55:53 +00:00
## TODO
2018-12-01 18:11:17 +00:00
2019-01-12 12:07:45 +00:00
### Global Roles
2018-12-01 18:11:17 +00:00
2019-01-12 12:07:45 +00:00
- [x] system role:
- install ansible aur module
- soft install (zsh,vim,)
2018-11-29 22:12:41 +00:00
2019-01-12 12:07:45 +00:00
- [x] user profil config
- [x] ansible bootstrap
- install python
- install sudo
- create user
- copy clé RSA
2019-04-09 20:17:14 +00:00
- [x] samba automount role
2019-01-27 19:18:03 +00:00
- géré les credential en fichier
- initialisé les variable pour les diferent périphérique
2018-11-29 22:12:41 +00:00
2019-04-09 20:17:14 +00:00
- [x] davfs mount
2019-04-08 21:09:14 +00:00
2019-04-09 20:17:14 +00:00
- [x] VM server
2018-11-28 20:45:20 +00:00
2019-04-09 14:34:35 +00:00
- [ ] syncthing role
2019-01-12 12:07:45 +00:00
### Workstation roles
- [x] mpd role
- [x] ansible manager
- install ansible
- install ansible aur module
- clone ansible repo
- [ ] workstation role
- install wm software
- install worstation software (firefox keepass,pulseaudio,ncmpcc)
2019-04-09 17:42:12 +00:00
- [ ] cups
- [ ] bluetooth et tlp pour laptop
2019-01-12 12:07:45 +00:00
- [ ] grubtheme
2018-12-02 20:00:48 +00:00
2019-01-12 12:07:45 +00:00
### Server Roles
2019-01-07 18:56:22 +00:00
2019-04-09 20:17:14 +00:00
- [ ] cron
- controle du reboot
- [ ] ssmtp
2019-01-12 18:12:55 +00:00
2019-01-12 12:07:45 +00:00
- [ ] rsyncd role
2019-01-12 18:12:55 +00:00
- [ ] backup role?
2018-11-29 18:33:06 +00:00
2018-11-29 22:12:41 +00:00
- [ ] ssmtp role
2019-01-12 12:07:45 +00:00
2018-11-27 20:59:42 +00:00
- [ ] nginx/php role
2019-01-12 12:07:45 +00:00
- install
- config
2018-11-27 20:59:42 +00:00
- [ ] mariadb role
2019-01-12 12:07:45 +00:00
- install
- config
- backup
2018-11-27 20:59:42 +00:00
- [ ] tt-rss role
2019-01-12 12:07:45 +00:00
- depend nginx & madiadb role
2018-11-27 20:59:42 +00:00
- [ ] gitea role
2019-01-12 12:07:45 +00:00
- depend of mariadb role
2018-11-27 20:59:42 +00:00
- [ ] dns role
2019-01-12 12:07:45 +00:00
-slave/primary
2019-04-04 18:34:15 +00:00
- [ ] failtoban role
2018-11-29 18:33:06 +00:00
2019-01-12 18:12:55 +00:00
#### global improvment
2018-11-29 18:33:06 +00:00
- voir pour compatibiliser debian
2019-01-12 12:09:59 +00:00
- variabiliser