Created
September 4, 2015 21:44
-
-
Save nrb/6e34308388499b60d310 to your computer and use it in GitHub Desktop.
The cinder_test.yml file was used to identify why a storage host was trying to use the cinder SHA for a swift package.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- │- hosts: 605093-storage01 │ user: root │ roles: │ - openstack_common │ tasks: │ - name: Dump git_install_branch │ debug: msg="Git install branch was {{ git_install_branch }}" │ - name: Dump repo_package_name │ debug: msg="repo package name was {{ repo_package_name }}" │ - name: Dump repo_path │ debug: msg="repo path {{ repo_path }}" │ - name: Dump service name │ debug: msg="service name {{ service_name }}" │ vars_files: │ - vars/repo_packages/cinder.yml │ - vars/openstack_service_vars/cinder_api.yml--- | |
- hosts: 605093-storage01 | |
user: root | |
roles: | |
- openstack_common | |
tasks: | |
- name: Dump git_install_branch | |
debug: msg="Git install branch was {{ git_install_branch }}" | |
- name: Dump repo_package_name | |
debug: msg="repo package name was {{ repo_package_name }}" | |
- name: Dump repo_path | |
debug: msg="repo path {{ repo_path }}" | |
- name: Dump service name | |
debug: msg="service name {{ service_name }}" | |
vars_files: | |
- vars/repo_packages/cinder.yml | |
- vars/openstack_service_vars/cinder_api.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The tasks won't run if the role fails at any point. To make this pass currently, you need to edit the following: https://github.com/stackforge/os-ansible-deployment/blob/10.1.12/rpc_deployment/roles/openstack_common/tasks/pip_install.yml#L18 to use
repo_package_name
instead ofservice_name
.