modif cle privee

This commit is contained in:
root 2024-01-25 10:49:53 +01:00
parent 91d8b57029
commit 73b4560dd9
3 changed files with 17 additions and 5 deletions

View 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

View File

@ -28,11 +28,11 @@
state: restarted
enabled: yes
- name: mise ne place script hostcreate
- name: mise en place script hostcreate
template:
src: hostcreate.sh.j2
dest: /tmp/hostcreate.sh
- name: lancement script hostcreate
command: bash /tmp/hostcreate.sh
#- name: lancement script hostcreate
#command: bash /tmp/hostcreate.sh

View File

@ -9,12 +9,12 @@
roles:
- base
- goss
- proxy3
- zabbix-cli
- gotify
- stork-server
- ssh-cli
- syslog-cli
#- syslog-cli
- smb-backup
- dns-slave
- post
- ssh-backup-key-private