Devops-PHP-Project edureka
Steps:
- Install below tools and configure on Master Server(Jenkins Server)
- git, Ansible , Jenkins and docker
- Install Ansible jenkins plugin and configure it on global tool configuration
- Add jenkins user to docker
- Create a pipeline job using Jenkinsfile from repo
- Do necessary configuration in pipeline ex: poll scm etc
- Change your test server ip in servers.inv and push the commit
- When any commit received pipeline job will be automatically triggered
Note: It is targeted and tested only on centos 7