Useful shortcuts for vi editor

Friday, 20 August 2021

"Attempting to decrypt but no vault secrets found" issue solution

Action
ansible-playbook -i /etc/ansible/hosts /etc/ansible/example.yml -v

Error
Attempting to decrypt but no vault secrets found

Solution
Add "--ask-vault-pass" OR "--vault-password-file <vault-file-path>" option to the end of the playbook command line
e.g.
ansible-playbook -i /etc/ansible/hosts /etc/ansible/example.yml -v --ask-vault-pass

Monday, 14 June 2021

el vs rhel

el (enterprise linux) e.g. centos, rocky linux, alma linux

rhel (red hat enterprise linux)

The main difference is that Red Hat provides technical support to the company/project if needs on RHEL. Also, there are various subscription options for being able to use RHEL for the companies at a cost.