This is a list of the references I used while experimenting and learning.
- First steps with Terraform: initial setup and setting up SSH
- Terraform and Ansible: https://alex.dzyoba.com/blog/terraform-ansible/. See also this article on the same subject with some advise about Jenkins.
- the only way to use port 80 is to setup IPTABLES to redirect calls to 80 to port 8888 see https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+on+Port+80+or+443+using+iptables. This article gives some examples on how to do these IPtable manipulations with Ansible.
- Jenkins configuration-as-code
- (private) repository with some same sample CJP related Ansible scripts
- A terraform module for Jenkins
- Another discussion about Terraform and Ansible provider. This is the associated Github repository