This is an old revision of the document!
Overview
Ansible and Oracle allow you to automate a lot of things around the OCI. In this module we will address the automation of:
- Compute Node Creation
- MySQL Creation
- MySQL Replication Setup
In later modules, we will make it even better with the introduction of roles. So let's get going. P.S. A disclaimer is in order here….I will not share my compartment or SSH keys…..obviously :D
Compute Node
Ansible has variable of modules for the compute node or for anything in general, but the following playbook automate the creation of a compute node.
Of course you need to create a VCN prior that with the correct name: