Skip to content
Snippets Groups Projects
Commit 2cd49148 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

Update ssh key variable

parent 7954c9f5
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ hostname: "{{ inventory_hostname }}"
# sudo: yes
# passwordless_sudo: yes
# # https://docs.ansible.com/ansible/latest/collections/ansible/posix/authorized_key_module.html#examples
# keys_url: https://git.sch.bme.hu/xy.keys
# ssh_key: https://git.sch.bme.hu/xy.keys
# netplan:
# network:
......
......@@ -38,7 +38,7 @@
ansible.posix.authorized_key:
user: "{{ user.name }}"
state: present
key: "{{ user.keys_url }}"
key: "{{ user.ssh_key }}"
manage_dir: yes
exclusive: yes
when: user.keys_url is defined
when: user.ssh_key is defined
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment