X

Announcing Oracle Cloud Infrastructure Ansible Modules

By: Mine Tanrinian Demir | Senior Manager, Product Management

We are happy to announce that Oracle Cloud Infrastructure Ansible modules are now available!

As more customers deploy applications to Oracle Cloud Infrastructure, we are observing an increased need for DevOps capabilities to automate these operations. Ansible addresses this need by allowing you to provision and configure your resources using automation. The new Oracle Cloud Infrastructure Ansible modules provide the capabilities to provision and configure your Oracle Cloud Infrastructure resources with the current release supporting all core services (more services will be covered in future releases). Also, Ansible contains a toolbox of built-in modules that you can use together with Oracle Cloud Infrastructure Ansible modules to meet your end-to-end needs.

Ansible doesn't require setting up complex agents, customized security, or centralized configuration servers. All you need to do is describe your automation jobs. To provision and configure Oracle Cloud Infrastructure resources, you just declare your desired state by using Ansible playbooks. When these playbooks are executed by Ansible, your Oracle Cloud Infrastructure resources are provisioned and configured according to your requirements.

Oracle Cloud Infrastructure Ansible modules are located in the oci-ansible-modules GitHub repo, and you can refer to the documentation for a list of supported modules. We would like your feedback on these modules and any future improvements; tell us what you think on the oci-ansible-modules GitHub issues page.

Getting Started

  1. Install the Python SDK:
    pip install oci
  2. Configure the SDK with your Oracle Cloud Infrastructure credentials.
  3. Install Ansible by using Ansible Installation Guide.
  4. Clone the Ansible modules repository:
    $ git clone https://github.com/oracle/oci-ansible-modules.git
    $ cd oci-ansible-modules
  5. Install the Ansible modules by running one of the following commands:
    • If Ansible is installed as a user: $ ./install.py
    • If Ansible is installed as root: $ sudo ./install.py
  6. Write a sample playbook (e.g. list_buckets) and run it:
    $ ansible-playbook list_buckets.yml

To learn more, see the following resources:

If you need help, use the following channels:

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha