Managing ACLs Using Ansible - FAILED but its correct

@Inderpreet @rahul456 @kodekloud-support3 @Ayman

Managing ACLs Using Ansible Task FAILED with error saying that “it seems like you haven’t set acl ‘/opt/sysops/story.txt’ properly on App Server 2” . As shown in below screenshot, I have set ACL for all files properly.

And also I have validated on App server 2 , its clearly shows permission is set to “rw” clearly.

Playbook executed without any error as shown below:

Can you please check and guide me on what caused this failure. So that it will help me next time complete this task successfully. According to me everything is correct I think.

Please do that needful.

1 Like

Hello, balu.networks7
You have a O/P of getfacl to see ACL’s to file.

1 Like

hi @balu.networks7, as per the question your ‘etype’ for app server 2 should be ‘user’ instead of ‘group’

@rahul456 ohhh got it… Thanks for pointing out … My mistake… :slight_smile:

what does params denote under var??

how params[‘ansible host’] refers to the respective host… Please help me to understand

@balu.networks7 @Tej-Singh-Rana
image
what do this section of the code do?
thanks
Swaroop

@swaroopcs88, seems like you have already complete the task.