Commit graph

67 commits

Author SHA1 Message Date
Jérémy Lecour 6f96f6b458 Use proper python Boolean 2023-03-16 14:38:32 +01:00
Alexis Ben Miloud--Josselin 058753bcfe kvmstats: Utiliser domstats pour récupérer infos
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Remplacer les multiples commandes virsh par une seule commande
virsh domstats. La sortie est filtrée par une commande awk.

Certains hyperviseurs ne savent pas lister les informations d’un
volume RBD (Ceph) avec domblkinfo. Il semble que domstats
fonctionne mieux pour ça et peut donner toutes les informations
de toute façon.
2023-03-10 10:07:00 +01:00
Alexis Ben Miloud--Josselin 8b26f2f491 kvmstats: désobfusquer conversion vers html 2023-03-10 10:06:43 +01:00
Jérémy Lecour 7a0e0d81d6 Proper jinja spacing
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Eric Morino 34a3591192 Fix depreciation of drbd-overview by drbdadm status
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-05 10:16:47 +02:00
Jérémy Lecour e6ea44ff29 Explicit loop variable names 2022-06-08 15:38:48 +02:00
Alexis Ben Miloud--Josselin 87a3fd48df Fix commit d455de5
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-03-03 11:54:32 +01:00
Alexis Ben Miloud--Josselin d455de52b3 Check if /etc/libvirt/qemu/*xml exists before sync
Some checks reported errors
continuous-integration/drone/push Build was killed
This will prevent sending e-mails saying the file
does not exists.
2022-03-03 11:48:39 +01:00
Jérémy Lecour 9e27d9707b kvm-host: add missing default value 2022-02-03 14:16:45 +01:00
Eric Morino 2ec026c2b3 Change variable item by kvm_pair and disable loop on all 'hypervisor' group
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-26 11:08:43 +01:00
Eric Morino 8dca949564 Add *xml to crontab for sync libvirt xml file
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-22 11:44:07 +01:00
Eric Morino c9af7db827 re-activation task ssh.yml + modify crontab for sync list of running vm + add tags
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-22 11:38:10 +01:00
Eric Morino 21bd4021d3 add virsh list --all on kvm host and this neighbor
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-22 10:42:46 +01:00
Alexis Ben Miloud--Josselin 0247216429 [kvmstats] Sort domain list 2021-10-28 10:27:44 +02:00
Jérémy Lecour 72e8200d5b kvm-host: reorganize code for kvmstats
* add -V|--version flag
* add -h|--help flag
* normalize options parsing
2021-10-22 13:30:34 +02:00
Jérémy Lecour 7cb6dffd6f add internal VERSION variable to kvmstats and add-vm 2021-10-21 17:32:37 +02:00
Jérémy Lecour 74ab96d67f loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
Jérémy Lecour b8c5ac3097 remove whitespace for stream redirection 2021-06-28 15:56:19 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
Jérémy Lecour 81730de78b kvm-host: fix typo in add-vm 2021-06-17 18:20:32 +02:00
Jérémy Lecour 53eaf085f5 kvm-host: manage dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 22:30:00 +02:00
Jérémy Lecour 9d0bfec87e kvm-host: add-vm: shellcheck (quotes, braces…)
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 21:22:38 +02:00
Jérémy Lecour edfcbbad0a kvm-host: add-vm: split assignment 2021-06-10 18:03:32 +02:00
Jérémy Lecour 5d7d62b284 whitespaces
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 16:30:22 +02:00
Jérémy Lecour 4e8c622cc0 kvm-host: force link for munin plugins 2021-06-10 16:30:17 +02:00
Jérémy Lecour 7f3eebcfc6 kvm-host: move cron template into templates directory 2021-06-10 16:18:12 +02:00
Jérémy Lecour 4d7e6fd271 kvm-host: update kvmstats and add-vm
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 11:24:16 +02:00
Jérémy Lecour 3d715bae35 kvm-host: replace the "kvm-tools" package with scripts deployed by Ansible
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 11:09:48 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 485ec39674 Use 'loop' syntax instead of 'with_nested' 2021-05-04 14:29:50 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour 5b9d2a2776 migrate-vm: do not display drbd error
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-29 09:56:39 +02:00
Jérémy Lecour 5d79c31dc3 kvm-host: add migrate-vm script
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-28 15:53:38 +02:00
Ludovic Poujol 15154169cf kvm-host: Add drbd role dependency (toggleable with kvm_install_drbd)
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-30 11:56:24 +01:00
Jérémy Lecour 6801f4e00e Add names to many blocks 2019-12-31 16:56:03 +01:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Tristan PILAT 3e03358370 Add vlan package 2019-06-05 17:58:11 +02:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Victor LABORIE 57cf0a29ab kvm-host: install kvm-tools package instead of copying add-vm.sh 2018-07-27 11:27:50 +02:00
Victor LABORIE 1c48df025c Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
Victor LABORIE bcda3b013e kvm-host: move add-vm.sh script into another GIT repository 2017-10-26 17:19:04 +02:00
Victor LABORIE bdc3ec7fd8 kvm-host: make an evomaintenance with add-vm.sh 2017-10-26 16:45:35 +02:00
Victor LABORIE 1075abed23 kvm-host: fix memory allocation in add-vm.sh (again) 2017-10-26 16:44:31 +02:00
Victor LABORIE 4a626df981 kvm-host: fix memory allocation in add-vm.sh 2017-10-26 16:29:57 +02:00
Victor LABORIE 7cf08cec1a kvm-host: fix shared-secret generation 2017-10-26 15:57:12 +02:00
Victor LABORIE 6a110768b4 kvm-host: add script add-vm.sh 2017-10-26 15:50:34 +02:00
Jérémy Lecour 9c797ea273 kvm-host: images path is customizable 2017-07-19 01:34:13 +02:00
Victor LABORIE 8d6e9e16aa kvm-host: disable ssh and cron config 2017-06-07 17:05:30 +02:00
Victor LABORIE a09da6e609 drbd-utils/kvm-hosts: fix munin plugin-conf rights 2017-06-05 16:31:11 +02:00
Gabriel Periard-Tremblay 87ebadcadd Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00