Création du répertoire /root/.ssh
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
Creation of directory /root/.ssh:
|
||||
directory.managed:
|
||||
- name: /root/.ssh
|
||||
- mode: '0700'
|
||||
- user: root
|
||||
- group: root
|
||||
- makedirs: True
|
||||
|
||||
Creation of file /root/.ssh/authorized_keys:
|
||||
file.managed:
|
||||
- name: /root/.ssh/authorized_keys
|
||||
|
||||
Reference in New Issue
Block a user