Ansible Roles in SEAPATH
The full Ansible roles documentation for the latest release of SEAPATH is available on Ansible Galaxy.
Warning
This below configuration might be deprecated and needs to be reviewed.
Debian role
The scripts and binaries are installed in the /usr/local/bin directory. The override of systemd service are installed in /etc/systemd.
Installs
python3-setup-ovs(sources here) with its servicevotp-config_ovsand enables it.Installs
vm_manager(sources here).Installs
backup-restore(sources here).Installs script to get a console of a virtual machine.
Configures
vim.Installs a SEAPATH resource agent
Configures
syslog-ng. If specified, installs certificates, keys and CA.Configures the
libvirtdandpacemakerservices.Sets the
UIDandGIDto902for the SNMP user.Configures SNMP daemon and service. Installs scripts to get back the machine's status.
Remove the
virtuuser if needed.Installs sudo's fragment for the SNMP user.
Configures the systemd's journal.
Configures an admin user with its group and sudo's fragment.
Adds a live-migration user.
Adds
panicrebootandbridge_nf_callrules to the kernel.Adds
br_netfilterandraid6_pqmodules to the kernel.Configures
AppArmor.Configures the network with systemd.
Configures the environment and the hosts.
Configures the
hddtemp.Configures the package manager.
Configures
libvirtd.Configures
GRUB.
Hypervisor role
Enables the
dockerservice.Adds
vhost_vsockmodule to the kernel.Installs the
votp-tasksetwith its service.Adds
schedrtrules to the kernel.Adds modules to the kernel specified by
sriov_driver.Adds
sriovrule to the kernel.Configures
GRUB.Configures
tuned.Configures
systemd.Configures
slicesofsystemd.Configures
ovs-vswitchdservice.Installs
ptp_statuswith its service.
Debian-hardening role
Create
ansibleandprivilegedgroup.Configures parameters of the kernel.
Updates the
coredump,kexecandbinfmt_miscrules to the kernel.Installs
sysctl-hardeningandnetwork-hardeningrules to the kernel.Adds
nf_conntrackmodule to the kernel.Installs
random-root-passwdservice and enable it.Installs
mktmpdirandterminal_idleprofile for a shell session.Configures the SSH server.
Installs ANSI and
ceph-osd-smartctlrules tosudo.Adds users to
priviligedgroups.Configures
sudoto be run only users members ofprivilegedgroup.Configures
login.defs.Configures PAM.
Configures
securetty.Configures some services specified in
hardened_services.Uninstalls useless packages.
Disable useless services.
Sets a password to
GRUB.Installs
auditconfiguration.
Corosync role
Regenerates the authentication key.
Synchronizes the key between the hosts.
Generates the configuration of
corosync.