| --- | |
| - name: Setup Multiple Orgss | |
| hosts: "{{ target_hosts }}" | |
| gather_facts: no | |
| vars_files: | |
| - ~/.apigee-secure/credentials.yml | |
| - ~/.apigee/custom-properties.yml | |
| vars: | |
| orgs_env_setups: | |
| - { org: rbc-apigee, env: sb } | |
| - { org: rbc-apigee, env: prod } | |
| - { org: rbc-apigee, env: prod-external } | |
| tasks: | |
| - name: Iterate over Orgs and Envs | |
| include_tasks: post-install-org-env-iteration.yml | |
| with_items: "{{ orgs_env_setups }}" | |
| loop_control: | |
| loop_var: orgs_env_setup |