Merge "Swith to the appropriate ceph-ansible playbook on upgrade"
authorJenkins <jenkins@review.openstack.org>
Sat, 19 Aug 2017 05:37:50 +0000 (05:37 +0000)
committerGerrit Code Review <review@openstack.org>
Sat, 19 Aug 2017 05:37:50 +0000 (05:37 +0000)
1  2 
docker/services/ceph-ansible/ceph-base.yaml

@@@ -158,12 -160,14 +172,16 @@@ outputs
            - name: ceph_base_ansible_workflow
              workflow: { get_param: CephAnsibleWorkflowName }
              input:
 +              ansible_skip_tags: {get_param: CephAnsibleSkipTags}
                ceph_ansible_extra_vars: {get_param: CephAnsibleExtraConfig}
-               ceph_ansible_playbook: {get_param: CephAnsiblePlaybook}
+               ceph_ansible_playbook:
+                 if:
+                   - perform_upgrade
+                   - {get_param: CephAnsibleUpgradePlaybook}
+                   - {get_param: CephAnsiblePlaybook}
        config_settings:
          ceph_common_ansible_vars:
 +          ireallymeanit: 'yes'
            fsid: { get_param: CephClusterFSID }
            docker: true
            ceph_docker_registry: {get_attr: [DockerImageUrlParts, value, host]}