Commit graph

48 commits

Author SHA1 Message Date
Alexis Ben Miloud--Josselin 7c2fd5e394
kvm-host: Add firewall rule for DRBD
Some checks failed
gitea/ansible-roles/pipeline/head There was a failure building this commit
2024-02-12 18:52:29 +01:00
Mathieu Trossevin c2de4b4cd1
kvm-host: Add LVM filter when needed
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2671|8|2663|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/439//ansiblelint">Evolix » ansible-roles » unstable #439</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-12-22 11:26:08 +01:00
Jérémy Lecour 00fe225a3c
force: [yes,no] → force [true,false]
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2615|7|2608|177|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-28 13:25:30 +02:00
Jérémy Lecour ee21973371 Use FQCN
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00
Jérémy Lecour 6f96f6b458 Use proper python Boolean 2023-03-16 14:38:32 +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
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
Jérémy Lecour 74ab96d67f loop syntax and whitespaces 2021-08-27 11:01:28 +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 4e8c622cc0 kvm-host: force link for munin plugins 2021-06-10 16:30:17 +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 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
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
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 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
Jérémy Lecour f6cfe41a35 Use command instead of shell where possible 2017-05-19 22:31:17 +02:00
Jérémy Lecour 9fae99f8dc Minor syntax and whitespaces fixes 2017-05-19 22:29:53 +02:00
Victor LABORIE b239a72ca0 kvm-host: add sync of libvirt info 2017-04-27 11:51:24 +02:00
Victor LABORIE 7fa9c4adf0 kvm-host: auto deploy ssh public key for other kvm hosts 2017-04-24 16:21:08 +02:00
Victor LABORIE b9f9d146ea kvm-host: * force link for images
* fix munin plugins url
2017-04-21 12:12:13 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
Jérémy Lecour 294cea44e8 Change mode with leading 0, but still as String 2017-03-23 16:59:43 +01:00
Victor LABORIE b5d86ca4cf kvm-host: move libvirt image dir 2017-02-16 14:58:38 +01:00
Jérémy Lecour 8920ff1ee4 Add "always_run: yes" where it's pertinent
There is also the "check_mode: no", but commented,
for when we switch to Ansible 2.2
2017-01-31 11:45:35 +01:00
Jérémy Lecour 5a7a561cca Remount /usr only if it is a dedicated partition 2017-01-12 16:23:48 +01:00
Jérémy Lecour 5a4f838375 Unix mode MUST be a quoted string when using octal notation 2017-01-05 12:03:54 +01:00
Gregory Colpart 1bc9c7b08a lvm2 is not needed for basic kvm hypervisor 2016-12-26 22:51:42 +01:00
Jérémy Lecour ecf20b436b drbd-utils/kvm-host: store plugins in /etc/munin/plugins
Let's keep /usr alone and save our custom plugins in /etc
until we decide on a better convention.
2016-12-23 18:59:14 +01:00
Jérémy Lecour eb1a71f96c kvm-host: better syntax 2016-12-23 15:14:44 +01:00
Jérémy Lecour 5358742aa4 Rename kvm role to kvm-host 2016-12-21 16:21:38 +01:00