Eduardo Medeiros

Eduardo Medeiros

System Engineer.

© 2022

About me

Browse by categories

Molecule: How to define the vault password file.

Sometimes we have to deal with encrypted values, such as passwords and sensitive information inside the role, therefore for that case, we have to define the vault configuration for the molecule.

The configuration for ansible vault key password file is defined within the file $HOME/.config/molecule/config.yml

provisioner:
  name: ansible
  config_options:
    defaults:
      vault_password_file: ${HOME}/.ansible/.vault