Managing Passwords in Ansible

You are viewing an old version of this article. View the current version here.

An Ansible role often runs commands that require certain privileges, so it must perform some forms of login. In the context of database automation, we normally talk about: ssh access, sudo access, and access to MariaDB. If we write these passwords in clear text in an Ansible repository, anyone who has access to the repository can access them. Let's see how we can avoid this.

The ssh Password

TO-DO

Avoiding Passwords

TO-DO

ansible-vault

TO-DO


Content initially contributed by Vettabase Ltd.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.