Compare commits
3 Commits
v0.0.6t-jc
...
v0.0.6w-cm
Author | SHA1 | Date | |
---|---|---|---|
df1000e1b5 | |||
0824fd9621 | |||
3c680769be |
@ -16,5 +16,5 @@
|
|||||||
copy:
|
copy:
|
||||||
src: /root/id_rsa_sbackup
|
src: /root/id_rsa_sbackup
|
||||||
dest: /var/www/html/gsbstore
|
dest: /var/www/html/gsbstore
|
||||||
mode: 0600
|
mode: 0644
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
SERVER: "127.0.0.1"
|
SERVER: "127.0.0.1"
|
||||||
SERVERACTIVE: "192.168.99.8"
|
SERVERACTIVE: "192.168.99.8"
|
||||||
TOKENAPI: "f72473b7e5402a5247773e456f3709dcdd5e41792360108fc3451bbfeed8eafe"
|
TOKENAPI: "132f64040b397f8300ad2304d633e0ef3ec820e99f5e151074e53b097d649814"
|
||||||
|
@ -33,6 +33,6 @@
|
|||||||
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
|
||||||
|
|
||||||
|
7
roles/zabbix-srv/files/gotify.sh
Normal file
7
roles/zabbix-srv/files/gotify.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ALERTSENDTO=$1
|
||||||
|
ALERTSUBJECT=$2
|
||||||
|
ALERTMESSAGE=$3
|
||||||
|
|
||||||
|
curl -X POST "http://s-backup.gsb.adm/message?token=$ALERTSENDTO" -F "title=$ALERTSUBJECT" -F "message=$ALERTMESSAGE" -F "priority=5" > /dev/null 2>&1
|
@ -30,7 +30,7 @@ function create_vm{ param([string]$nomvm)
|
|||||||
} else {
|
} else {
|
||||||
#Importation depuis l'ova
|
#Importation depuis l'ova
|
||||||
& "$vboxmanage" import "$ovafile" --vsys 0 --vmname "$nomvm"
|
& "$vboxmanage" import "$ovafile" --vsys 0 --vmname "$nomvm"
|
||||||
Write-Host "Machine $nomvm importée"
|
Write-Host "Machine $nomvm importée"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user