This commit is contained in:
Vendored
+7
-1
@@ -13,9 +13,15 @@ pipeline {
|
|||||||
echo "Hello from bash"
|
echo "Hello from bash"
|
||||||
echo "Who I'm $SHELL"
|
echo "Who I'm $SHELL"
|
||||||
'''
|
'''
|
||||||
ansiblePlaybook credentialsId: '209d0fa2-bbd7-4af5-9aac-deec1b6aa7ec', inventory: '192.168.150.40,', playbook: 'test_play.yml'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
stage('Ansible') {
|
||||||
|
agent any
|
||||||
|
steps {
|
||||||
|
ansiblePlaybook credentialsId: '209d0fa2-bbd7-4af5-9aac-deec1b6aa7ec', inventory: '192.168.150.40,', playbook: 'test_play.yml'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user