add option to bypass .netrc check function (#563)

add option to whitelist specific user that need a .netrc file in there home dirs
add test for .netrc files if option os_netrc_enabled is false

Signed-off-by: Philipp Funk <[email protected]>

Signed-off-by: Philipp Funk <[email protected]>
Co-authored-by: Philipp Funk <[email protected]>
This commit is contained in:
PhilippFunkandPhilipp Funk authored and GitHub committed 2022-08-17 09:09:00 +02:00
1 parent 6aa01f040a
commit fd3fc1cfba
11 files changed
+67 -6

No files matched your search

@@ -0,0 +1,9 @@
---
- name: create '.netrc' in /root
ansible.builtin.copy:
dest: '/root/.netrc'
mode: '0600'
content: |
machine localhost
login root
password ipsum