/ansible-gentoo

ansible files for gentoo hosts

enter image description here

ansible-gentoo

I'm using Ansible's Gentoo modules to deploy some of my Gentoo servers.

software

The software.yml file contains a list of default packages, to add more just use --extra-vars.

Example:

ansible-playbook software.yml --extra-vars "packages=['app-containers/docker', 'app-misc/neofetch']"

emerge

To update the @world set just run emerge.yml. It has some defaults but you can overwrite them via --extra-vars.

Example:

ansible-playbook update_world.yml --extra-vars "sync=no deep=no"