sysctl: Fixed sysctl to work on symlinks(#111)

This commit is contained in:
satken2 2021-06-12 00:33:39 +09:00 committed by Amin Vakil
parent 50f9b3a9ab
commit 6a6ad579c0
No known key found for this signature in database
GPG key ID: AE2ED731CF227C72

View file

@ -338,7 +338,7 @@
path: /tmp/ansible_sysctl_test_symlink.conf
register: stat_result
- Ensure the sysctl file remains a symlink
- name: Ensure the sysctl file remains a symlink
assert:
that:
- stat_result.stat.islnk is defined and stat_result.stat.islnk