Commit 6331f0f9 by John Jarvis

only add keys when admin_keys is defined

parent 0475dbea
......@@ -28,6 +28,7 @@
- name: Copying ssh keys for admin users
authorized_key: user={{ item.user }} key="{{lookup('file', item.path)}}"
with_items: admin_keys
when: admin_keys is defined
tags:
- users
- admin_users
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment