From df1000e1b5f169442d4adf44bdef778c943143b2 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 26 Jan 2024 14:55:25 +0100 Subject: [PATCH] modif droit copie cle privee --- roles/ssh-backup-key-gen/tasks/main.yml | 2 +- roles/zabbix-cli/defaults/main.yml | 2 +- roles/zabbix-cli/tasks/main.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/ssh-backup-key-gen/tasks/main.yml b/roles/ssh-backup-key-gen/tasks/main.yml index f65e196..e4595a5 100644 --- a/roles/ssh-backup-key-gen/tasks/main.yml +++ b/roles/ssh-backup-key-gen/tasks/main.yml @@ -16,5 +16,5 @@ copy: src: /root/id_rsa_sbackup dest: /var/www/html/gsbstore - mode: 0600 + mode: 0644 remote_src: yes diff --git a/roles/zabbix-cli/defaults/main.yml b/roles/zabbix-cli/defaults/main.yml index 8e5d00a..94d6ad0 100644 --- a/roles/zabbix-cli/defaults/main.yml +++ b/roles/zabbix-cli/defaults/main.yml @@ -1,3 +1,3 @@ SERVER: "127.0.0.1" SERVERACTIVE: "192.168.99.8" -TOKENAPI: "f72473b7e5402a5247773e456f3709dcdd5e41792360108fc3451bbfeed8eafe" +TOKENAPI: "132f64040b397f8300ad2304d633e0ef3ec820e99f5e151074e53b097d649814" diff --git a/roles/zabbix-cli/tasks/main.yml b/roles/zabbix-cli/tasks/main.yml index 76b3b3d..0a92f16 100644 --- a/roles/zabbix-cli/tasks/main.yml +++ b/roles/zabbix-cli/tasks/main.yml @@ -33,6 +33,6 @@ 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