diff --git a/roles/ssh-backup-key-private/tasks/main.yml b/roles/ssh-backup-key-private/tasks/main.yml new file mode 100644 index 0000000..2f2b8be --- /dev/null +++ b/roles/ssh-backup-key-private/tasks/main.yml @@ -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 + diff --git a/roles/zabbix-cli/tasks/main.yml b/roles/zabbix-cli/tasks/main.yml index 5b6491e..76b3b3d 100644 --- a/roles/zabbix-cli/tasks/main.yml +++ b/roles/zabbix-cli/tasks/main.yml @@ -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 diff --git a/s-backup.yml b/s-backup.yml index 22a602d..553e8a4 100644 --- a/s-backup.yml +++ b/s-backup.yml @@ -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