ansible tarball provides two all-commented ansible.cfg and hosts files in ansible-${PV}/examples/ They provide essential knowledge of ansible config and ansible inventory without changing any default value. (An newbie would benefit a lot from them.) I suggest put them into /etc/ansible since system-level ansible config is searched under /etc/ansible/ansible.cfg and inventory file defaults to /etc/ansible/hosts
How about naming them foo.sample instead (to call out what they are)? I do the same with openstack packages.
It's better. :) I suggested preserving file names because they are nearly all commented and do nothing when being parsed, under current version(2.4.0.0). Since it's not a guarantee for the future versions, adding file name suffix provides consistent behavior. (also avoid dispatch-conf/etc-update calling huh?) Installing them into /usr/share/doc/${PF}/ may also be accepted.
It looks like 9999 was already installing the examples via dodoc, so I revbumped 2.4.1.0 to install the docs there.