I'm using Ansible's Gentoo modules to deploy some of my Gentoo servers.
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']"
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"