diff --git a/Jenkinsfile b/Jenkinsfile index 7a2a243..511891d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,13 +22,6 @@ pipeline { sh "ansible-playbook -i ${ANSIBLE_INVENTORY} ${ANSIBLE_PLAYBOOK}" } } - - stage('Reboot PVE BACKUP') { - steps { - // Construction et exécution de la commande Ansible - sh "ansible-playbook -i ${ANSIBLE_INVENTORY_REBOOT} ${ANSIBLE_PLAYBOOK_REBOOT}" - } - } } post { diff --git a/inventory.ini b/inventory.ini index f8ff2a8..a9d22eb 100644 --- a/inventory.ini +++ b/inventory.ini @@ -1,15 +1,13 @@ [debian_vms] -PVE_LAB ansible_host=10.24.100.12 -PBS ansible_host=192.168.1.130 -PBS2 ansible_host=192.168.1.131 +PBS ansible_host=192.168.1.50 jeedom ansible_host=10.24.100.4 cloud ansible_host=10.24.100.33 les6 ansible_host=10.24.100.31 educa ansible_host=10.24.100.32 sabine ansible_host=10.24.100.13 cecile ansible_host=10.24.100.41 -#gaelle ansible_host=10.24.100.42 +gaelle ansible_host=10.24.100.42 dljules ansible_host=10.24.100.61 -[proxmox_datacenter] -data ansible_host=10.24.121.3 ansible_user=garfi ansible_ssh_common_args='-o ProxyCommand="ssh -W %h:%p -q root@158.69.117.214"' +#[proxmox_datacenter] +#data ansible_host=10.24.121.3 ansible_user=garfi ansible_ssh_common_args='-o ProxyCommand="ssh -W %h:%p -q root@158.69.117.214"' diff --git a/inventory_reboot.ini b/inventory_reboot.ini deleted file mode 100644 index 1cfd818..0000000 --- a/inventory_reboot.ini +++ /dev/null @@ -1,2 +0,0 @@ -[debian_vms] -debian_vm1 ansible_host=192.168.1.131