File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
hooks/overcloud-host-upgrade/pre.d Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- - name : Check kayobe version
2
+ - name : Check Kayobe version
3
3
tags : kayobe-version-check
4
4
hosts : localhost
5
5
gather_facts : false
6
6
vars :
7
7
requirements_path : " {{ kayobe_config_path }}/../../requirements.txt"
8
8
tasks :
9
- - name : Get installed kayobe commit
9
+ - name : Get installed Kayobe commit
10
10
ansible.builtin.shell :
11
11
cmd : set -o pipefail && pip freeze | grep kayobe | cut -d @ -f 3
12
12
executable : /usr/bin/bash
13
13
register : kayobe_git_commit
14
14
15
- - name : Clone kayobe
15
+ - name : Clone Kayobe
16
16
ansible.builtin.git :
17
17
repo : https://github.com/stackhpc/kayobe.git
18
18
dest : /tmp/kayobe-git
19
19
version : stackhpc/{{ openstack_release }}
20
20
21
- - name : Get tag from kayobe commit
21
+ - name : Get tag from Kayobe commit
22
22
ansible.builtin.command :
23
23
cmd : git describe --tags {{ kayobe_git_commit.stdout }}
24
24
chdir : /tmp/kayobe-git
30
30
executable : /usr/bin/bash
31
31
register : kayobe_latest_version
32
32
33
- - name : Check installed kayobe version is the latest
33
+ - name : Check installed Kayobe version is the latest
34
34
ansible.builtin.assert :
35
35
that : " kayobe_latest_version.stdout in kayobe_current_version.stdout"
36
36
fail_msg : |
Original file line number Diff line number Diff line change
1
+ ../../../ansible/check-kayobe-version.yml
You can’t perform that action at this time.
0 commit comments