Let's now finally trigger a pipeline by making a simple change to our Ansible code base.
All we're going to do is update the
- Using the
- Edit the
main.yamlfile and simply add
Testingto the bottom
- Save the file and
git commit ...it to the repository
git pushto push your changes to the remote in GitLab
Now navigate to the CI/CD pipelines in GitLab and you'll see a pipeline has executed.
- Undo the change made to the
main.yamlfile, commit and push the changes, and check that another pipeline runes
We're now going to discuss what we've done, and why.