mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-03 08:56:01 +02:00
Optimized different roles
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
authorized_keys_path: "{{ inventory_dir }}/files/{{ inventory_hostname }}/home/backup/.ssh/authorized_keys"
|
||||
authorized_keys: "{{ lookup('file', authorized_keys_path) }}"
|
||||
authorized_keys_list: "{{ lookup('file', authorized_keys_path).splitlines() }}"
|
||||
|
Reference in New Issue
Block a user