- 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
- Unreal Engine:Game Development from A to Z
- 面向STEM的mBlock智能機器人創新課程
- Hadoop 2.x Administration Cookbook
- 控制與決策系統仿真
- Getting Started with Containerization
- 腦動力:PHP函數速查效率手冊
- 視覺檢測技術及智能計算
- 21天學通Visual Basic
- Cloudera Administration Handbook
- 信息物理系統(CPS)測試與評價技術
- 液壓機智能故障診斷方法集成技術
- 傳感器原理與工程應用
- QTP自動化測試實踐
- 百度智能小程序:AI賦能新機遇
- SQL語言與數據庫操作技術大全