Del divers
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -22,13 +22,6 @@ pipeline {
|
|||||||
sh "ansible-playbook -i ${ANSIBLE_INVENTORY} ${ANSIBLE_PLAYBOOK}"
|
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 {
|
post {
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
[debian_vms]
|
[debian_vms]
|
||||||
PVE_LAB ansible_host=10.24.100.12
|
PBS ansible_host=192.168.1.50
|
||||||
PBS ansible_host=192.168.1.130
|
|
||||||
PBS2 ansible_host=192.168.1.131
|
|
||||||
jeedom ansible_host=10.24.100.4
|
jeedom ansible_host=10.24.100.4
|
||||||
cloud ansible_host=10.24.100.33
|
cloud ansible_host=10.24.100.33
|
||||||
les6 ansible_host=10.24.100.31
|
les6 ansible_host=10.24.100.31
|
||||||
educa ansible_host=10.24.100.32
|
educa ansible_host=10.24.100.32
|
||||||
sabine ansible_host=10.24.100.13
|
sabine ansible_host=10.24.100.13
|
||||||
cecile ansible_host=10.24.100.41
|
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
|
dljules ansible_host=10.24.100.61
|
||||||
|
|
||||||
[proxmox_datacenter]
|
#[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"'
|
#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"'
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
[debian_vms]
|
|
||||||
debian_vm1 ansible_host=192.168.1.131
|
|
||||||
Reference in New Issue
Block a user