fix: remove old work key
This commit is contained in:
@@ -18,9 +18,3 @@
|
|||||||
user: root
|
user: root
|
||||||
state: present
|
state: present
|
||||||
key: "{{ lookup('file', 'ssh/work.id_rsa.pub') }}"
|
key: "{{ lookup('file', 'ssh/work.id_rsa.pub') }}"
|
||||||
|
|
||||||
- name: remove old work key
|
|
||||||
authorized_key:
|
|
||||||
user: root
|
|
||||||
state: absent
|
|
||||||
key: "{{ lookup('file', 'ssh/work_old.id_rsa.pub')}}"
|
|
||||||
|
Reference in New Issue
Block a user