-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
43 lines (43 loc) · 1.35 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# action.yml
name: 'AAP Automation Controller Action'
branding:
icon: 'arrow-right-circle'
color: 'red'
description: 'Launch Job Templates or Workflow Template and retrieve information from job output'
inputs:
controller_host:
description: "Automation controller URL."
required: true
controller_project:
description: "Automation controller project."
required: false
controller_username:
description: "Automation controller username."
required: false
controller_password:
description: "Automation controller password."
required: false
validate_certs:
required: false
default: "true"
job_template:
description: "Name or ID of job_template"
required: false
workflow_template:
description: "Name or ID of workflow_template"
required: false
extra_vars:
description: "Pass extra command line variables to the playbook."
required: false
runs:
using: docker
image: Dockerfile
env:
CONTROLLER_HOST: ${{ inputs.controller_host }}
CONTROLLER_USERNAME: ${{ inputs.controller_username }}
CONTROLLER_PASSWORD: ${{ inputs.controller_password }}
CONTROLLER_VERIFY_SSL: ${{ inputs.validate_certs }}
CONTROLLER_PROJECT: ${{ inputs.controller_project }}
JOB_TEMPLATE: ${{ inputs.job_template }}
WORKFLOW_TEMPLATE: ${{ inputs.workflow_template }}
EXTRA_VARS: ${{ inputs.extra_vars }}