No description
  • Python 98.4%
  • Dockerfile 1.6%
Find a file
2026-03-05 09:48:40 -06:00
.gitignore init 2026-01-13 16:25:22 -06:00
Dockerfile Initial commit 2026-01-13 15:06:18 -06:00
plugin.py add limit param (#3) 2026-03-05 09:48:40 -06:00
README.md add limit param (#3) 2026-03-05 09:48:40 -06:00
requirements.txt Initial commit 2026-01-13 15:06:18 -06:00

drone-plugin-awx

triggers awx jobs from harness

settings

  • ENDPOINT - awx endpoint (str)
  • USERNAME - awx username (str)
  • PASSWORD - awx password (str)
  • SAVE_TOKEN - (optional) set awx token as step output
  • TARGET_HOSTNAME - (optional) target hostname (str)
  • TARGET_DESC - (optional) target description (str)
  • ADD_TO_INVENTORY - (optional) add target to inventory (bool: default false)
  • IGNORE_EXISTING_HOST - (optional) ignore if host already exists in inventory (bool: default false)
  • INVENTORY_ID - (optional) inventory id, if not provided, will be created dynamically (int)
  • INVENTORY_NAME - (optional) inventory name for dynamic inventory (str)
  • INVENTORY_DESC - (optional) inventory description for dynamic inventory (str)
  • ORGANIZATION_ID - (optional) awx organization for dynamic inventory (int: default 1)
  • JOB_TEMPLATE_ID - (optional) job template id (int)
  • EXTRA_VARS - (optional) extra vars for job (json string)
  • LIMIT - (optional) limit pattern for job execution (str)

outputs

  • AWX_TOKEN - awx token (str: if SAVE_TOKEN is true)
  • INVENTORY_ID - inventory id (int: if inventory is created)
  • JOB_ID - job id (int: if job is triggered)
  • JOB_STATUS - job status (str: if job is triggered)
  • JOB_URL - job url (str: if job is triggered)

usage

- step:
    type: Plugin
    name: awx
    identifier: awx
    spec:
        connectorRef: account.buildfarm_container_registry_cloud
        image: harnesscommunity/drone-plugin-awx
        settings:
            endpoint: http://awx.r.ss
            username: admin
            password: <+secrets.getValue("lab")>
            save_token: "true"
            target_hostname: home.r.ss
            job_template_id: "7"
image image