ansible-collection-hardening/molecule/os_hardening/prepare_tasks/netrc.yml
Martin Schurz 7e33ea0bae use ansible-lint to autofix problems
Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
2023-12-06 14:37:09 +01:00

9 lines
178 B
YAML

---
- name: create '.netrc' in /root
ansible.builtin.copy:
dest: /root/.netrc
mode: "0600"
content: |
machine localhost
login root
password ipsum