All,
The Fedora Server WG is planning to release a series of rpms to allow sysadmins to use
pre-defined (by the Fedora Server WG) ansible roles to install and configure linux
services such as nfs, mail. dns, dhcp, etc that will provide a secure and known-to-work
set of (some or all) said services.
I am attempting to create a "config" rpm that will create the necessary directories and
default configuration files to be used by subsequent rpm packages providing these roles.
This is much in the same manner as the filesystem rpm provides directories to the base
o/s.
I envision this rpm to create:
a) A fedora_server userid and group id that has write access to the directories/files
created below.
b) An ansible inventory directory
c) A directory to create executable and yml files necessary to invoke said roles
d) A directory to contain the subdirectories to define the provided ansible roles (tasks,
defaults, files, templates, vars, etc)
The userids for the sysadmins using these new roles, would be added to the fedora-server
group via linux commands in order to access/modify the provided roles.
I was thinking the inventory directory should go in /etc/ansible. Where the sysadmin
would be a member of the newly generated "fedora_server" group with write permissions.
I am in a quandary about where to place the executes and yml files necessary to invode the
new roles. Should I create a directory under /usr/local somwhere? Should I create a
directory under /var/local somewhere? Or do I create a directory under /opt somewhere?
Or is there somewhere else that makes more sense? Please keep in mind these directories
will be provided by a Fedora Server WG rpm that should be included in a normal Fedora
Server distribution media.
I have the same questions regarding the "roles" directory.
Any thoughts on the subject would be greatly appreciated.
John