| | |
| | | - ./templates/operator_group.j2 |
| | | - ./templates/catalog_source.j2 |
| | | - ./templates/subscription.j2 |
| | | - ./templates/cluster_role_binding.j2 |
| | | |
| | | - name: Wait until CSV is Installed |
| | | command: oc get csv "{{ _broker_subscription_csv }}" -o jsonpath --template='{.status.phase}' -n "{{ _broker_project }}" |
| | |
| | | definition: "{{ lookup('template', item ) | from_yaml }}" |
| | | loop: |
| | | - ./templates/automation_broker.j2 |
| | | |
| | | - name: Grant Automation Broker Service Account admin permissions on all projects |
| | | k8s: |
| | | state: present |
| | | merge_type: |
| | | - strategic-merge |
| | | - merge |
| | | definition: "{{ lookup('template', './templates/cluster_role_binding.j2' ) | from_yaml }}" |
| | | |
| | | # Leave this as the last task in the playbook. |
| | | - name: workload tasks complete |