| --- | |
| # tasks file for apigee-opdk-backup | |
| - name: Stop component {{ component_profile }} | |
| shell: '{{ apigee_service }} {{ component_profile }} stop' | |
| when: component_profile != 'apigee-postgresql' | |
| - name: Backup component {{ component_profile }} | |
| shell: '{{ apigee_service }} {{ component_profile }} backup' | |
| - name: Start component {{ component_profile }} | |
| shell: '{{ apigee_service }} {{ component_profile }} start' | |
| when: component_profile != 'apigee-postgresql' |