Skip to content

Commit ee6fa71

Browse files
committed
sync
1 parent 5a1fc26 commit ee6fa71

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ on:
1616
type: string
1717

1818
jobs:
19-
hello_world_job:
19+
automation_controller_job:
2020
runs-on: ubuntu-latest
21-
name: A job to say hello
21+
name: Kick off Automation controller job
2222
steps:
23-
- name: Hello world action step
23+
- name: Load the ansible-cloud action
2424
id: controller
2525
uses: ansible-cloud/[email protected]
26-
# Use the output from the `hello` step
2726
- name: The job template being executed
2827
run: echo "The job template is ${{ steps.controller.inputs.job_template }}"

entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@ if [ -z "$CONTROLLER_HOST" ]; then
77
exit 1
88
fi
99

10+
if [ -z "$CONTROLLER_USERNAME" ]; then
11+
echo "Automation controller username is not set. Exiting."
12+
exit 1
13+
fi
1014

1115
echo "END OF AAP - Automation controller Github Action"

0 commit comments

Comments
 (0)