fix: remove old work key
This commit is contained in:
@@ -18,9 +18,3 @@
|
||||
user: root
|
||||
state: present
|
||||
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