Skip to content

Commit dd9af7c

Browse files
committed
sync
1 parent bde6943 commit dd9af7c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ jobs:
2828
controller_username: ${{ secrets.CONTROLLER_USERNAME }}
2929
controller_password: ${{ secrets.CONTROLLER_PASSWORD }}
3030
validate_certs: false
31+
job_template: "AWS - ec2 enforce owner tag"
32+
extra_vars: ""
3133
- name: The job template being executed
3234
run: echo "The job template is ${{ steps.controller.inputs.job_template }}"

action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ inputs:
2626
runs:
2727
using: docker
2828
image: Dockerfile
29-
args:
30-
- ${{ inputs.job_template }}
31-
- ${{ inputs.extra_vars }}
3229
env:
3330
CONTROLLER_HOST: ${{ inputs.controller_host }}
3431
CONTROLLER_USERNAME: ${{ inputs.controller_username }}
3532
CONTROLLER_PASSWORD: ${{ inputs.controller_password }}
3633
CONTROLLER_VERIFY_SSL: ${{ inputs.validate_certs }}
34+
JOB_TEMPLATE: ${{ inputs.job_template }}
35+
EXTRA_VARS: ${{ inputs.extra_vars }}

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ if [ -z "$CONTROLLER_PASSWORD" ]; then
1919
exit 1
2020
fi
2121

22+
echo "JOB_TEMPLATE being executed $JOB_TEMPLATE"
23+
2224
echo "END OF AAP - Automation controller Github Action"

0 commit comments

Comments
 (0)