ansible/README.md
2019-01-12 19:12:55 +01:00

1.3 KiB

ansible

commande ansible

launch playbook on staging ansible-playbook -i staging site.yml --ask-become-pass

init new role architecture ansible-galaxy user_config init

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

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
  • autofs role

  • VM server

Workstation roles

  • mpd role

  • ansible manager

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

    • install wm software
    • install worstation software (firefox keepass,pulseaudio,ncmpcc)
  • grubtheme

  • syncthing role

Server Roles

  • [server role]

    • cron
    • ssmtp
    • controle du reboot
  • rsyncd role

  • backup role?

  • ssmtp role

  • nginx/php role

    • install
    • config
  • mariadb role

    • install
    • config
    • backup
  • tt-rss role

    • depend nginx & madiadb role
  • gitea role

    • depend of mariadb role
  • dns role -slave/primary

global improvment

  • voir pour compatibiliser debian
  • variabiliser