style: linting
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
---
|
||||
|
||||
- name: ssh configuration file
|
||||
template:
|
||||
src: sshd_config.j2
|
||||
@@ -7,15 +9,15 @@
|
||||
|
||||
- name: ssh keys home
|
||||
authorized_key:
|
||||
user: root
|
||||
state: present
|
||||
key: "{{ lookup('file', 'ssh/home.id_rsa.pub') }}"
|
||||
user: root
|
||||
state: present
|
||||
key: "{{ lookup('file', 'ssh/home.id_rsa.pub') }}"
|
||||
|
||||
- name: ssh keys work
|
||||
authorized_key:
|
||||
user: root
|
||||
state: present
|
||||
key: "{{ lookup('file', 'ssh/work.id_rsa.pub') }}"
|
||||
user: root
|
||||
state: present
|
||||
key: "{{ lookup('file', 'ssh/work.id_rsa.pub') }}"
|
||||
|
||||
- name: remove old work key
|
||||
authorized_key:
|
||||
|
Reference in New Issue
Block a user