File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1616 type : string
1717
1818jobs :
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 }}"
Original file line number Diff line number Diff line change @@ -7,5 +7,9 @@ if [ -z "$CONTROLLER_HOST" ]; then
77 exit 1
88fi
99
10+ if [ -z " $CONTROLLER_USERNAME " ]; then
11+ echo " Automation controller username is not set. Exiting."
12+ exit 1
13+ fi
1014
1115echo " END OF AAP - Automation controller Github Action"
You can’t perform that action at this time.
0 commit comments