forked from ISTI-ansible-roles/ansible-roles
14 lines
376 B
YAML
14 lines
376 B
YAML
|
---
|
||
|
# TODO: fetch the keys from ldap
|
||
|
- name: various pub ssh keys for users and apps
|
||
|
authorized_key: user=root key="{{ item }}" state=present
|
||
|
with_items: root_ssh_keys
|
||
|
tags:
|
||
|
- root_pubkeys
|
||
|
|
||
|
- name: Remove obsolete keys from the authorized ones
|
||
|
authorized_key: user=root key="{{ item }}" state=absent
|
||
|
with_items: obsolete_root_ssh_keys
|
||
|
tags:
|
||
|
- root_pubkeys
|