Ansible Playbook for the OCI Arcade

The OCI Arcade with Kafka Streaming

I’m ever fine tuning this for the purpose of getting things done. For this I’m purposefully looking at the DevOps side of the picture. There are resources and a lifecycle that is better suited with Ansible or other CI/CD frameworks / pipelines.

I’ve extended the existing Oracle Resource Manager (ORM) automation. Have a look (here) about what I’ve done with ORM such that I used Ansible to do a couple of things.

  • To create a Oracle Resource Manager Configuration Source Provider (to point to my github account so I can securely connect to my public repositories).
  • To create a Oracle Resource Manager stack that uses this provider to access the Terraform project.
  • To Apply the ORM to stand it up the environment.

Yes – I could have done this manually but the purpose of Ansible or other CI/CD tools is not about executing what is easy but to make it scale – even simple things.

There’s a few steps:

  • Getting Ansible up and running with OCI Collections. I followed the instructions from (here).
  • Getting the OCI SDK up and running and configured. This is used by the OCI Collections. I followed the instructions from (here) – though I had this already configured from other activities.
  • Download the git repo for this https://github.com/jlowe000/oci-arcade-ansible.
  • Copy the vars.yaml.template to a vars.yaml and update. There’s a few Terraform variables required.
  • Run the playbook (to setup) …
ansible-playbook setup.yaml
  • After you are done – (to teardown) …
 ansible-playbook teardown.yaml

After it is provisioned – you get to play this …

I acknowledge Mason Borda for their contribution in building this game.

If you want to fork the other repositories to try it out yourselves – fork these:

The README has the details there too and it’s been purposefully built in such as way that it can be run on an Always Free Tier Oracle Cloud tenancy. If you need an environment to try this out or to have a game or two – head to the following link and sign-up. https://www.oracle.com/au/cloud/free/.

Have fun, let us know what you are up to and we are open for collaborations if you want to add your own twist to this.

Advertisement

Author: Jason Lowe

I am passionate about how organisations adopt IT quickly and sustainably to achieve a specific and measurable outcome. This thinking is supported through lean IT practices in operational support and project delivery, and adopting these practices with Oracle technologies by creating sustainable platforms. I'm also interested different perspectives and drivers - from enterprise to start-ups, academia to commercial to public sector, cost-sensitive (risk) to value-driven (reward) - all of which influences decisions that organisations make. I have a passion for community and have been called "a connector" - meeting new people that are trying to solve valuable and hard problems and connecting them with others that can validate and help realise their full potential. I've supported different organisations like TADHack and Hacking Health as a global organiser. I'm is a persistent blogger on medium.com and redthunder.blog and on LinkedIn - https://www.linkedin.com/in/lowe-jason #CommunityMatters #ItTakesAVillage

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: