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]>
10 lines
180 B
YAML
10 lines
180 B
YAML
---
|
|
- name: create '.netrc' in /root
|
|
ansible.builtin.copy:
|
|
dest: '/root/.netrc'
|
|
mode: '0600'
|
|
content: |
|
|
machine localhost
|
|
login root
|
|
password ipsum
|