summaryrefslogtreecommitdiff
path: root/final
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-08-19 15:35:23 +0200
committerjerome <jerome@xlinfo.fr>2025-08-19 15:35:23 +0200
commit07a86666f804d408aaf44884499b677eaf8161c8 (patch)
tree06d73624f8bc2bf7e712eed80cd9a9e2407800a3 /final
parent302daa1e5f66da2526635270e7e0153edf2d7228 (diff)
downloadincus-07a86666f804d408aaf44884499b677eaf8161c8.tar.gz
incus-07a86666f804d408aaf44884499b677eaf8161c8.zip
Jenkinsfile
Diffstat (limited to 'final')
-rw-r--r--final/Jenkinsfile2
-rw-r--r--final/hosts2
2 files changed, 3 insertions, 1 deletions
diff --git a/final/Jenkinsfile b/final/Jenkinsfile
index 75f72e5..c5807d2 100644
--- a/final/Jenkinsfile
+++ b/final/Jenkinsfile
@@ -4,7 +4,7 @@ pipeline {
stage('Clone Repository') {
steps {
script {
- sh 'git clone http://dev.xlinfo.lan/git/iac/incus.git'
+ sh 'git clone http://dev.xlinfo.lan/git/iac/incus.git || git checkout'
}
}
}
diff --git a/final/hosts b/final/hosts
index 7c37320..4489216 100644
--- a/final/hosts
+++ b/final/hosts
@@ -1,2 +1,4 @@
webserver1 ansible_host=192.168.122.150 ansible_user=ansible ansible_become=true
webserver2 ansible_host=192.168.122.28 ansible_user=ansible ansible_become=true
+webserver1 ansible_host=192.168.122.72 ansible_user=ansible ansible_become=true
+webserver2 ansible_host=192.168.122.11 ansible_user=ansible ansible_become=true