summaryrefslogtreecommitdiffstats
path: root/roles/admin_ssh_keys/tasks/main.yml
blob: f5dd4dbdb70ddcae293d8634bd4295588a613ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Install root ssh keys
  authorized_key:
    user: root
    key: "{{ item }}"
  with_file:
  - misc.pub
  - quaid.pub
  - duck.pub

- name: Remove old root keys
  authorized_key:
    user: root
    key: "{{ item }}"
  with_file:
  - misc_old.pub