Skip to content
Snippets Groups Projects
Commit f1759c3a authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Detect openstack_release variable in mariadb recovery playbooks"

parents 7aec6606 f9899fbf
No related branches found
No related tags found
No related merge requests found
---
- name: Detect openstack_release variable
hosts: mariadb
gather_facts: false
tasks:
- name: Get current kolla-ansible version number
local_action: command python -c "import pbr.version; print(pbr.version.VersionInfo('kolla-ansible'))"
register: kolla_ansible_version
changed_when: false
when: openstack_release == "auto"
- name: Set openstack_release variable
set_fact:
openstack_release: "{{ kolla_ansible_version.stdout }}"
when: openstack_release == "auto"
tags: always
- name: Recover mariadb
hosts: mariadb
roles:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment