Skip to content

Commit bcfbf89

Browse files
Hook for overcloud host upgrade
1 parent 7715802 commit bcfbf89

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

etc/kayobe/ansible/check-kayobe-version.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
---
2-
- name: Check kayobe version
2+
- name: Check Kayobe version
33
tags: kayobe-version-check
44
hosts: localhost
55
gather_facts: false
66
vars:
77
requirements_path: "{{ kayobe_config_path }}/../../requirements.txt"
88
tasks:
9-
- name: Get installed kayobe commit
9+
- name: Get installed Kayobe commit
1010
ansible.builtin.shell:
1111
cmd: set -o pipefail && pip freeze | grep kayobe | cut -d @ -f 3
1212
executable: /usr/bin/bash
1313
register: kayobe_git_commit
1414

15-
- name: Clone kayobe
15+
- name: Clone Kayobe
1616
ansible.builtin.git:
1717
repo: https://github.com/stackhpc/kayobe.git
1818
dest: /tmp/kayobe-git
1919
version: stackhpc/{{ openstack_release }}
2020

21-
- name: Get tag from kayobe commit
21+
- name: Get tag from Kayobe commit
2222
ansible.builtin.command:
2323
cmd: git describe --tags {{ kayobe_git_commit.stdout }}
2424
chdir: /tmp/kayobe-git
@@ -30,7 +30,7 @@
3030
executable: /usr/bin/bash
3131
register: kayobe_latest_version
3232

33-
- name: Check installed kayobe version is the latest
33+
- name: Check installed Kayobe version is the latest
3434
ansible.builtin.assert:
3535
that: "kayobe_latest_version.stdout in kayobe_current_version.stdout"
3636
fail_msg: |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../ansible/check-kayobe-version.yml

0 commit comments

Comments
 (0)