mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
sysctl: Fixed sysctl to work on symlinks(#111)
This commit is contained in:
parent
97dcdee670
commit
a842e5f96a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue