diff --git a/defaults/default.yml b/defaults/default.yml index 53060cc..5f73970 100644 --- a/defaults/default.yml +++ b/defaults/default.yml @@ -26,8 +26,8 @@ unix_users: {} # home: /home/alice # btrfs: false # netrc: -# - machine_name: hostame.local -# login_name: username +# - machine: hostame.local +# login: username # password: password # shell: /bin/bash # shell_rc_files: diff --git a/templates/netrc.j2 b/templates/netrc.j2 index cfa67c3..80d0e27 100644 --- a/templates/netrc.j2 +++ b/templates/netrc.j2 @@ -2,6 +2,6 @@ # # Ansible Managed # -{% for netrc in nix_user.value.netrc %} +{% for netrc in unix_user.value.netrc %} maschine {{ netrc.maschine }} login {{ netrc.login }} password {{ netrc.password }} {% endfor %} \ No newline at end of file