ansible-vault icon indicating copy to clipboard operation
ansible-vault copied to clipboard

Only Enable non-root mlock capability if variable 'vault_disable_mlock' is true

Open ron1 opened this issue 6 months ago • 0 comments

Only Enable non-root mlock capability if variable 'vault_disable_mlock' is true. Currently, the following two tasks are executed needlessly when 'vault_disable_mock' is true.

https://github.com/ansible-community/ansible-vault/blob/7e2fdeddec3405756aae10f1dedcace4ba94779b/tasks/main.yml#L78

https://github.com/ansible-community/ansible-vault/blob/7e2fdeddec3405756aae10f1dedcace4ba94779b/tasks/main.yml#L85

This is related to issue: https://github.com/ansible-community/ansible-vault/issues/287.

ron1 avatar Apr 01 '25 19:04 ron1