Member-only story
Ansible troubleshooting — chgrp failed
When you try to change permission to file your Ansible Playbook might end up with “chgrp failed” error. Let’s investigate together why this error happens and how to solve it!
3 min readSep 9, 2021
Today we’re going to talk about Ansible troubleshooting, specifically about chgrp failed error.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.
demo
The best way of talking about Ansible troubleshooting is to jump in a live demo to show you practically the chgrp failed error and how to solve it!
- fix_permission.sh
# groups devops
devops : wheel
# useradd -a -G users devops
# groups devops
devops : wheel users
# id devops
uid=1001(devops) gid=10(wheel) groups=10(wheel),100(users)
Recap
Now you know better how to troubleshoot the Ansible chgrp failed error.
Subscribe to the YouTube channel, Medium, and Website to not miss the next episode of the Ansible Pilot.