Useful shortcuts for vi editor

Monday, 15 June 2020

How to resolve "[Errno 13] Permission denied"?

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

Error
ERROR! Unexpected Exception, this is probably a bug: [Errno 13] Permission denied

Analysis
ansible user does not have the owner permissions on "/dev/shm"

Possible Reason
Running "umount -a" or "umount /dev/shm"

Solution
$ sudo chown $USER /dev/shm