- Security Automation with Ansible 2
- Madhu Akula Akash Mahajan
- 130字
- 2021-07-02 21:59:54
Jenkins Ansible integration configuration
Not surprisingly, Jenkins supports SCM to use playbooks and local directories for manual playbooks too. This can be configured with the build options. Jenkins supports both ad-hoc commands and playbooks to trigger as a build (or) post-build action.
The following screenshot shows how we can point our repository and specify a branch as well. We can also specify credentials if we want to access private repositories:

Adding Github (SCM) based playbooks for build
Then we can add the Playbook path by specifying the location of the playbook and defining inventory and variables as required:

Start playbook execution when build triggers
Finally, we can execute the Jenkins job by triggering the Jenkins build (or) we can integrate this with other tools:

Jenkins build output of playbook execution
- ABB工業(yè)機(jī)器人編程全集
- Excel 2007函數(shù)與公式自學(xué)寶典
- 快學(xué)Flash動(dòng)畫百例
- Photoshop CS3特效處理融會(huì)貫通
- 水晶石精粹:3ds max & ZBrush三維數(shù)字靜幀藝術(shù)
- C語言開發(fā)技術(shù)詳解
- Blender 3D Printing by Example
- Apache源代碼全景分析(第1卷):體系結(jié)構(gòu)與核心模塊
- Learning Apache Apex
- 基于ARM9的小型機(jī)器人制作
- Excel 2007終極技巧金典
- Mastering Ansible(Second Edition)
- 單片機(jī)C51應(yīng)用技術(shù)
- 工業(yè)機(jī)器人編程指令詳解
- SketchUp 2014 for Architectural Visualization(Second Edition)