ansible-roles/library/centos/roles/ssh-keys/tasks/main.yml

10 lines
244 B
YAML
Raw Normal View History

2019-05-15 01:22:27 +02:00
---
- name: Install the ssh keys for the authorized users
authorized_key: user=root key="{{ item }}" state=present
with_items: '{{ root_authorized_ssh_key }}'
when: root_authorized_ssh_key is defined
tags:
- pubkeys
- ssh_keys