File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 3636 PY_COLORS : ' 1'
3737 ANSIBLE_FORCE_COLOR : ' 1'
3838 pull_request_event : ${{ github.event.pull_request.number }}
39+ - name : Adding markdown
40+ run : echo '### Hello world! :rocket:' >> $GITHUB_STEP_SUMMARY
3941 # workshop_job_provision:
4042 # runs-on: ubuntu-latest
4143 # name: Workshop Provision
Original file line number Diff line number Diff line change @@ -166,6 +166,12 @@ tee playbook.yml << EOF
166166 debug:
167167 var: playbook_output.json.content
168168
169+ - name: copy playbook output from Automation controller to file
170+ when: job_template_var|length > 0 or workflow_template_var|length > 0
171+ ansible.builtin.copy:
172+ content: "{{ playbook_output.json.content }}"
173+ dest: job_output.txt
174+
169175 - name: revert project settings back to original
170176 awx.awx.project:
171177 name: "{{ project_var }}"
198204 exit 1
199205fi
200206
207+ GITHUB_STEP_SUMMARY=" $GITHUB_STEP_SUMMARY \n $( < read_file.txt) "
208+
209+
201210echo " END OF AAP - Automation controller Github Action"
You can’t perform that action at this time.
0 commit comments