To work with the root user and ssh keys is a common practice in the Ansible community. Another variant is to use a “deploy” user with the same password on every machine.
Another option is to use Ansible Vault to encrypt the yaml files. or to use a password manager. It’s never a good idea to keep passwords, private keys and other sensual data to the source code repository.

Continue reading
  • page 1 of 1

Blagovest Petrov

An ordinary IT


DevOps Engineer


Sofia, Bulgaria