blob: c9955a193277714593f06bbfec4ed6ea85294de7 [file]
---
- include: configuration/update_cache.yml
tags:
- cache
- hosts: ds
serial: 1
vars_files:
- ~/.apigee/credentials.yml
roles:
- { role: apigee-opdk-setup-default-settings, tags: ['cache'] }
- { role: apigee-opdk-cassandra-change-quorum, consistency: TWO }
- hosts: rmp
serial: 1
vars_files:
- ~/.apigee/credentials.yml
roles:
- { role: apigee-opdk-setup-default-settings, tags: ['cache'] }
- { role: apigee-opdk-stop-components, tags: ['restart', 'stop'] }
- { role: apigee-opdk-start-components, tags: ['restart', 'start'], component_start_delay: 10 }
- hosts: ds[0]
serial: 1
vars_files:
- ~/.apigee/credentials.yml
vars:
cassandra_keyspaces:
- auth
- cache
- devconnect
- user_settings
- apprepo
- kms
- scheduler
- ax_custom_report_model
- audit
- aries
- apimodel
- edgenotification
- analytics
- keyvaluemap
- counter
roles:
- { role: apigee-opdk-setup-default-settings, tags: ['cache'] }
- { role: apigee-opdk-cassandra-change-replication-factor, tags: ['update'], keyspaces: '{{ cassandra_keyspaces }}' }
- hosts: ds
serial: 1
vars_files:
- ~/.apigee/credentials.yml
roles:
- { role: apigee-opdk-setup-default-settings, tags: ['cache', 'repair'] }
- { role: apigee-opdk-cassandra-repair, tags: ['repair'] }
- hosts: ds
serial: 1
vars_files:
- ~/.apigee/credentials.yml
roles:
- { role: apigee-opdk-setup-default-settings, tags: ['cache'] }
- { role: apigee-opdk-cassandra-change-quorum, consistency: LOCAL_QUORUM }
- hosts: rmp
serial: 1
vars_files:
- ~/.apigee/credentials.yml
roles:
- { role: apigee-opdk-setup-default-settings, tags: ['cache'] }
- { role: apigee-opdk-stop-components, tags: ['restart', 'stop'] }
- { role: apigee-opdk-start-components, tags: ['restart', 'start'], component_start_delay: 1 }