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

- name: Remove old root keys
  authorized_key:
    user: root
    key: "{{ item }}"
    state: absent
  with_file:
  - misc_nano_old.pub
  - misc_tpm_old.pub