ansible-vault
ansible-vault copied to clipboard
Only Enable non-root mlock capability if variable 'vault_disable_mlock' is true
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.