6. OpenNebula provider for Terraform: Features
• Leverages OpenNebula's XML/RPC API
• Tested for versions 5.X
• The following list represent's all of OpenNebula's resources that
are fully functional and tested:
• onevm
• onetemplate
• onevnet
• oneimage
7. OpenNebula provider for Terraform
• OpenNebula API for the Go programming language
https://gitlab.ippon.fr/ims/opennebula-api
• Alternative provider:
https://gitlab.ippon.fr/ims/terraform-provider-one/
8. Proof of concept (PoC)
Jenkins Pipeline with Terraform and AWX or Ansible Tower
9. Continuous Integration / Continuous Delivery
Repository on GitHub or GitLab
SysAdmin
CommitCommit
Jenkins Build Server
Checkout
12. Jenkins Pipeline: State Terraform Apply
The pipeline use tower-cli to add automatically hosts to the inventory
https://github.com/ansible/tower-cli
13. Jenkins Pipeline: State Run Playbook
Finally launch a Job Template in Ansible AWX or Ansible Tower
https://github.com/ansible/awx
14. AWX Jobs
AWX use the credentials added during the OpenNebula Contextualization
15. Thanks and be ONE!!!
+IAC Tutorials at https://confluence.csuc.cat/display/IaaS/Tutorials