blob: 3bf3699d783bd3166dc62ee97f4168efeea9facf [file] [log] [blame]
---
- hosts: '{{ hosts }}'
strategy: free
vars_files:
- ~/.apigee/credentials.yml
roles:
- apigee-opdk-enable-swap
- apigee-opdk-setup-default-settings
- apigee-opdk-setup-os-postgres
tags:
- os-pre-req
- hosts: '{{ hosts }}'
strategy: free
vars_files:
- ~/.apigee/credentials.yml
roles:
- apigee-opdk-setup-default-settings
- apigee-opdk-setup-postgres-config
tags:
- apigee-pre-req
- include: opdk-install-component.yml
vars:
hosts: '{{ hosts }}'
component_profile: 'ps'
tags:
- apigee-component
- include: 'opdk-setup-postgres-master.yml'
when: pg_component is defined and pg_component == 'master'
tags:
- apigee-component
- include: 'opdk-setup-postgres-standby.yml'
when: pg_component is defined and pg_component == 'standby'
tags:
- apigee-component