Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
f1759c3a
Commit
f1759c3a
authored
7 years ago
by
Jenkins
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Detect openstack_release variable in mariadb recovery playbooks"
parents
7aec6606
f9899fbf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/mariadb_recovery.yml
+16
-0
16 additions, 0 deletions
ansible/mariadb_recovery.yml
with
16 additions
and
0 deletions
ansible/mariadb_recovery.yml
+
16
−
0
View file @
f1759c3a
---
-
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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment