Skip to content

Commit dde0ee2

Browse files
committed
sync
1 parent 45c7d7a commit dde0ee2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
controller_username: ${{ secrets.CONTROLLER_USERNAME }}
3030
controller_password: ${{ secrets.CONTROLLER_PASSWORD }}
3131
job_template: "AWS - ec2 enforce owner tag"
32+
project: "aws ec2 operational project"
3233
extra_vars: "your_region=us-west-1"
3334
validate_certs: false
3435
# workshop_job_provision:

entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ tee playbook.yml << EOF
5454
- "extra vars are {{ extra_vars }}"
5555
- "extra vars are {{ extra_vars }}"
5656
57+
- name: sync project update
58+
awx.awx.project_update:
59+
project: "{{ project_var }}"
60+
wait: true
61+
when: project_var|length > 0
62+
5763
- name: Launch a job template with extra_vars on remote controller instance
5864
when: job_template_var|length > 0
5965
awx.awx.job_launch:

0 commit comments

Comments
 (0)