major/cis-rhel-ansible

/etc/grub.conf symlink

shawnsi opened this issue · 2 comments

I'm hitting an error on 1.5.1. Looks like ansible can't manage permissions of a symlink without src and dest explicitly set? We can't hardcode src and dest due to #7 .

TASK: [cis | 1.5.1 Set User/Group Owner on /etc/grub.conf] ******************** 
failed: [ec2-54-165-14-20.compute-1.amazonaws.com] => {"failed": true}
msg: src and dest are required for creating links
failed: [ec2-54-218-63-216.us-west-2.compute.amazonaws.com] => {"failed": true}
msg: src and dest are required for creating links

FATAL: all hosts have already failed -- aborting

Any ideas on how to proceed?

I've been trying to figure this out for a while. I can't find a way in Ansible to find the dest and set permissions to that!

Closing this as the issue has been resolved in major/ansible-role-cis#3