sorry ... still a bit OT but maybe interesting for others as well:
Yesterday I started to modify the following ansible role to fit my needs and work with gentoo target hosts: https://github.com/debops/ansible-dhcpd I modified tasks/main.yml (use portage ... install iproute2 as well) and edited defaults/main.yml to reflect the environment of site A at first. my first testing playbook: --- - hosts: site-A-dhcpd user: root roles: - ansible-dhcpd Now I wonder how to use the same role for configuring site B. defaults/main.yml currently contains the config (vars ... yes) for site A ... A copy of the role is way too redundant ... What is the/a correct and elegant way to do that? Have a defaults/site-B.conf.yml or something and include that in a 2nd playbook? Use some file in the vars/ directory ... ? I am quite sure that this is just a beginner's problem ... but in these days my brain is a bit exhausted by my current workload etc Thanks for any hints, Stefan!