community / community.general / 0.2.1 / lookup / keyring grab secrets from the OS keyring Authors: Samuel Boucher <boucher.samuel.c@gmail.com>community.general.keyring (0.2.1) — lookup
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
Allows you to access data stored in the OS provided keyring/keychain.
- name : output secrets to screen (BAD IDEA) debug: msg: "Password: {{item}}" with_keyring: - 'servicename username'
- name: access mysql with password from keyring mysql_db: login_password={{lookup('keyring','mysql joe')}} login_user=joe
_raw: description: secrets stored