#270 – Rundeck OCI Plugin

This week on the podcast, Kyle shares his Rundeck plugin for OCI that will dynamically provides OCI nodes to Rundeck, and then Dan and Kyle discuss the difference between sync and async messaging and how that affects the Integration Broker.

Show Notes

One thought on “#270 – Rundeck OCI Plugin

  1. Happy new year to the psadmin.io team. Thanks for some great discussion around IB and OCI to brighten up the first week of the year.

    On a Python note: You can execute complex search queries against OCI resources in Python (and other languages) using the ResourceSearcClient class (https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/resource_search.html#)

    search = oci.resource_search.ResourceSearchClient(config)
    sdetails = oci.resource_search.models.StructuredSearchDetails()
    sdetails.query = "query instance resources where lifeCycleState = 'RUNNING'"
    #query = "query all resources where (definedTags.namespace = 'myspace' && definedTags.key = 'mytag' && definedTags.value = 'myvalue') "
    result = search.search_resources(search_details=sdetails, limit=1000).data

    print("Number of instances found = {}".format(len(result.items)))

    for resource in result.items:
    resourceDetails = compute.get_instance(instance_id=resource.identifier).data

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax