added Jenkinsfile
All checks were successful
multibranch_ansible/pipeline/head This commit looks good
All checks were successful
multibranch_ansible/pipeline/head This commit looks good
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -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