Corretta creazione ssh-key. Rivista lista dei pacchetti disponibili per ClearOS.
This commit is contained in:
parent
fea492fb7d
commit
25e3afff28
@ -1,5 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Verifica presenza directory .ssh
|
||||
shell: test -d /root/.ssh
|
||||
register: check_sshdir
|
||||
ignore_errors: true
|
||||
|
||||
- name: Creazione directory .ssh
|
||||
shell: mkdir -p /root/.ssh
|
||||
when: check_sshdir|failed
|
||||
|
||||
- name: Verifica chiave ssh
|
||||
shell: test -f /root/.ssh/id_rsa
|
||||
changed_when: false
|
||||
@ -7,7 +16,7 @@
|
||||
register: check_key
|
||||
|
||||
- name: Gestione creazione chiave ssh
|
||||
shell: ssh-keygen -t rsa -b 1024 -f id_rsa -N ''
|
||||
shell: ssh-keygen -t rsa -b 1024 -f /root/.ssh/id_rsa -N ''
|
||||
sudo: yes
|
||||
sudo_user: root
|
||||
when: check_key|failed
|
||||
|
@ -10,7 +10,6 @@
|
||||
- app-openldap-directory
|
||||
- app-ntp
|
||||
- app-configuration-backup
|
||||
- app-backuppc
|
||||
- app-firewall
|
||||
- app-network
|
||||
- app-users
|
||||
@ -29,7 +28,6 @@
|
||||
- app-log-viewer
|
||||
- app-print-server
|
||||
- app-samba
|
||||
- app-samba-core
|
||||
- app-user-profile
|
||||
- app-date
|
||||
- app-marketplace
|
||||
|
Loading…
x
Reference in New Issue
Block a user