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
|
- name: Verifica chiave ssh
|
||||||
shell: test -f /root/.ssh/id_rsa
|
shell: test -f /root/.ssh/id_rsa
|
||||||
changed_when: false
|
changed_when: false
|
||||||
@ -7,7 +16,7 @@
|
|||||||
register: check_key
|
register: check_key
|
||||||
|
|
||||||
- name: Gestione creazione chiave ssh
|
- 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: yes
|
||||||
sudo_user: root
|
sudo_user: root
|
||||||
when: check_key|failed
|
when: check_key|failed
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
- app-openldap-directory
|
- app-openldap-directory
|
||||||
- app-ntp
|
- app-ntp
|
||||||
- app-configuration-backup
|
- app-configuration-backup
|
||||||
- app-backuppc
|
|
||||||
- app-firewall
|
- app-firewall
|
||||||
- app-network
|
- app-network
|
||||||
- app-users
|
- app-users
|
||||||
@ -29,7 +28,6 @@
|
|||||||
- app-log-viewer
|
- app-log-viewer
|
||||||
- app-print-server
|
- app-print-server
|
||||||
- app-samba
|
- app-samba
|
||||||
- app-samba-core
|
|
||||||
- app-user-profile
|
- app-user-profile
|
||||||
- app-date
|
- app-date
|
||||||
- app-marketplace
|
- app-marketplace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user