modif cle privee
This commit is contained in:
parent
91d8b57029
commit
73b4560dd9
12
roles/ssh-backup-key-private/tasks/main.yml
Normal file
12
roles/ssh-backup-key-private/tasks/main.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
- name: creation .ssh
|
||||||
|
file:
|
||||||
|
path: ~/.ssh
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: recuperation de la cle privee generee par s-adm
|
||||||
|
get_url:
|
||||||
|
url: http://s-adm.gsb.adm/gsbstore/id_rsa_sbackup
|
||||||
|
dest: /root/.ssh/id_rsa_sbackup
|
||||||
|
mode: 0644
|
||||||
|
|
@ -28,11 +28,11 @@
|
|||||||
state: restarted
|
state: restarted
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
- name: mise ne place script hostcreate
|
- name: mise en place script hostcreate
|
||||||
template:
|
template:
|
||||||
src: hostcreate.sh.j2
|
src: hostcreate.sh.j2
|
||||||
dest: /tmp/hostcreate.sh
|
dest: /tmp/hostcreate.sh
|
||||||
|
|
||||||
- name: lancement script hostcreate
|
#- name: lancement script hostcreate
|
||||||
command: bash /tmp/hostcreate.sh
|
#command: bash /tmp/hostcreate.sh
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- goss
|
- goss
|
||||||
- proxy3
|
|
||||||
- zabbix-cli
|
- zabbix-cli
|
||||||
- gotify
|
- gotify
|
||||||
- stork-server
|
- stork-server
|
||||||
- ssh-cli
|
- ssh-cli
|
||||||
- syslog-cli
|
#- syslog-cli
|
||||||
- smb-backup
|
- smb-backup
|
||||||
- dns-slave
|
- dns-slave
|
||||||
- post
|
- post
|
||||||
|
- ssh-backup-key-private
|
||||||
|
Loading…
x
Reference in New Issue
Block a user