How to Store Ansible Vault Password

There are several ways to pass the Ansible Vault password. classic CLI prompt which requires manual intervention password file which should be stored somewhere accessible to the Ansible environment variable Today I will tell about my latest approach. I am using tool called Direnv which loads and unloads different environment variables when you enter the directory. Direnv uses .envrc files to read the variables from. Typically, this file should be in your ....

2024 Mar 27 · Dzintars

NixOS vs Ansible

My opinion on this is still not stable or true and I might change my mind later when I will really try NixOS. I see the constant hype around the NixOS and one of the main selling points is its reproducibility. Under the Ansible, you configure only whats in your playbooks. And it’s easy to mess around the system bypassing the Ansible. In NixOS that’s not the case. If you make any add-hock changes on NixOS and then run nixos-rebuild all your crafted changes will be gone because they are not in your NixOS config....

2024 Feb 28 · Dzintars