diff options
| -rw-r--r-- | final/Jenkinsfile | 2 | ||||
| -rw-r--r-- | final/hosts | 2 |
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 |
