Skip to content

Commit 755dcb4

Browse files
committed
improve alignment of EEs to job templates
* default EEs are defined at the project level for each demo suite * explicit EEs are now only defined for job templates which need to override the project default
1 parent 3468d1c commit 755dcb4

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

cloud/setup.yml

+4
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ controller_templates:
152152
credentials:
153153
- AWS
154154
project: Ansible official demo project
155+
execution_environment: Cloud Services Execution Environment
155156
playbook: cloud/create_vpc.yml
156157
inventory: Demo Inventory
157158
notification_templates_started: Telemetry
@@ -342,6 +343,7 @@ controller_templates:
342343
credentials:
343344
- AWS
344345
project: Ansible official demo project
346+
execution_environment: Cloud Services Execution Environment
345347
playbook: cloud/aws_key.yml
346348
inventory: Demo Inventory
347349
notification_templates_started: Telemetry
@@ -381,6 +383,7 @@ controller_templates:
381383
credentials:
382384
- AWS
383385
project: Ansible official demo project
386+
execution_environment: Cloud Services Execution Environment
384387
playbook: cloud/snapshot_ec2.yml
385388
inventory: Demo Inventory
386389
notification_templates_started: Telemetry
@@ -412,6 +415,7 @@ controller_templates:
412415
credentials:
413416
- AWS
414417
project: Ansible official demo project
418+
execution_environment: Cloud Services Execution Environment
415419
playbook: cloud/restore_ec2.yml
416420
inventory: Demo Inventory
417421
notification_templates_started: Telemetry

linux/setup.yml

-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ controller_templates:
138138
inventory: "Demo Inventory"
139139
project: "Ansible official demo project"
140140
playbook: "linux/patching.yml"
141-
execution_environment: Default execution environment
142141
notification_templates_started: Telemetry
143142
notification_templates_success: Telemetry
144143
notification_templates_error: Telemetry
@@ -234,7 +233,6 @@ controller_templates:
234233
project: "Ansible official demo project"
235234
playbook: linux/fact_scan.yml
236235
inventory: Demo Inventory
237-
execution_environment: Default execution environment
238236
notification_templates_started: Telemetry
239237
notification_templates_success: Telemetry
240238
notification_templates_error: Telemetry

network/setup.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ controller_templates:
4949
survey_enabled: true
5050
project: Network Golden Configs
5151
playbook: main.yml
52-
execution_environment: Networking Execution Environment
5352
notification_templates_started: Telemetry
5453
notification_templates_success: Telemetry
5554
notification_templates_error: Telemetry
@@ -82,10 +81,10 @@ controller_templates:
8281
inventory: Network Inventory
8382
project: "Ansible official demo project"
8483
playbook: "network/report.yml"
84+
execution_environment: Networking Execution Environment
8585
notification_templates_started: Telemetry
8686
notification_templates_success: Telemetry
8787
notification_templates_error: Telemetry
88-
execution_environment: Networking Execution Environment
8988
use_fact_cache: true
9089
credentials:
9190
- "Demo Credential"

setup_demo.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@
1010
loop: "{{ controller_components }}"
1111
vars: # noqa var-naming[no-role-prefix]
1212
controller_components:
13+
- execution_environments
1314
- notification_templates
1415
- job_templates
1516
- settings
1617
controller_execution_environments:
1718
- name: product-demos
1819
image: http://quay.io/acme_corp/product-demos-ee:latest
19-
controller_organizations:
20-
- name: Default
21-
default_environment: product-demos
2220
controller_notifications:
2321
- name: Telemetry
2422
organization: Default

0 commit comments

Comments
 (0)