NGenetzky / ngenetzky-ansible-inventory

Public inventory files of my Ansible setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ypid-ansible-inventory

When the default settings of DebOps are not paranoid enough.

This git repository tracks the public Ansible inventory used by ypid. The inventory files are structured to allow interested fellows to symlink them into their own Ansible projects. This way, you can easily pull updates of this repository.

Note that using those settings is intended for advanced Ansible and DebOps users.

ypid-ansible-inventory is part of ypid-ansible-common.

Disclamer

About the catch line at the top of this README. ypid is a DebOps Developer and if there is anything which is considered weak or not state of the art in DebOps defaults then it will be fixed in DebOps.

File naming

All files and groups are prefixed with public_ypid_ to prevent accidental disclosure of settings that ypid would like to keep private and to introduce a namespacing for use in Ansible host groups.

Furthermore, the following prefixes are used:

defaults
Default settings of ypid.
facts
Easy access to Ansible local facts set by Ansible roles including a fallback if the fact is not available yet.
paranoid
Maximum security settings even at the risk of dropping support for not up-to-date software/systems and reduced convenience. For example Putty is not known to work with the paranoid ssh server configuration.
dev

Configure roles so that they are easy to deploy to a single VM/container for developing and testing. This will:

  • Configure the FQDN of the service to the hostname so that DNS and certificates work by default.
  • Turn optional features on for testing.
staging
Optimized for performance at the cost of security/hardening. Use reduced key sizes.
experimental
Enables experimental/tech preview features of roles. Can be used when developing roles or to deploy test/staging instances.
qubes
Optimized for use together with Qubes OS VMs.

The following suffixes are used:

debops
Settings for DebOps Core roles.
debops_contrib
Settings for DebOps Contrib roles.

Why not make them DebOps defaults?

The main reason is that the settings in this repository come at a certain cost either in convenience and/or compatibility. DebOps has to make a trade-off between those costs and security. There is nothing wrong with that because the most secure system would be arguably some mostly offline, air gapped system only running trustworthy Free Software (not to forget handmade based on Free Hardware Designs). The generic use of such system might be limited. See where ypid is going with this? DebOps defaults are reasonable and secure defaults as far as ypid can tell.

About

Public inventory files of my Ansible setup


Languages

Language:Shell 100.0%