mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-07-30 19:34:50 +00:00
sysctl: Fixed sysctl to work on symlinks(#111)
This commit is contained in:
@@ -360,7 +360,7 @@
|
|||||||
path: /tmp/ansible_sysctl_test_symlink.conf
|
path: /tmp/ansible_sysctl_test_symlink.conf
|
||||||
register: stat_result
|
register: stat_result
|
||||||
|
|
||||||
- Ensure the sysctl file remains a symlink
|
- name: Ensure the sysctl file remains a symlink
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- stat_result.stat.islnk is defined and stat_result.stat.islnk
|
- stat_result.stat.islnk is defined and stat_result.stat.islnk
|
||||||
|
|||||||
Reference in New Issue
Block a user