0

I am running a playbook that executes a MySQL update command with

--defaults-extra-file=vault/config.cnf.

This file is encrypted with ansible vault to protect MySQL credentials.

The problem is that when I run ansible-playbook

--vault-id ~/vault/vault-passwd 

the MySQL config file is not decrypted and the playbook fails.

Is there a solution to this problem?

Arslanbekov Denis
  • 1,674
  • 12
  • 26
secicf
  • 1

0 Answers0