Skip to content

Commit 9dae279

Browse files
Merge pull request #1283 from mauricioharley/fix-ospcix-1264
Skip barbican_adoption role when barbican is not enabled
2 parents f93e14d + e3308d6 commit 9dae279

7 files changed

Lines changed: 6 additions & 1 deletion

File tree

tests/playbooks/test_minimal.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
- role: barbican_adoption
3737
tags:
3838
- barbican_adoption
39+
when: prelaunch_barbican_secret | default(false) | bool
3940
- role: neutron_adoption
4041
tags:
4142
- neutron_adoption

tests/playbooks/test_rollback_minimal.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
- role: barbican_adoption
3838
tags:
3939
- barbican_adoption
40+
when: prelaunch_barbican_secret | default(false) | bool
4041
- role: neutron_adoption
4142
tags:
4243
- neutron_adoption

tests/playbooks/test_rollback_with_ceph.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
- role: barbican_adoption
4646
tags:
4747
- barbican_adoption
48+
when: prelaunch_barbican_secret | default(false) | bool
4849
- role: neutron_adoption
4950
tags:
5051
- neutron_adoption

tests/playbooks/test_with_ceph.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
- role: barbican_adoption
4646
tags:
4747
- barbican_adoption
48+
when: prelaunch_barbican_secret | default(false) | bool
4849
- role: neutron_adoption
4950
tags:
5051
- neutron_adoption

tests/playbooks/test_with_ceph_and_ironic.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
- role: barbican_adoption
7070
tags:
7171
- barbican_adoption
72+
when: prelaunch_barbican_secret | default(false) | bool
7273
- role: neutron_adoption
7374
tags:
7475
- neutron_adoption

tests/playbooks/test_with_ironic.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
- role: barbican_adoption
5858
tags:
5959
- barbican_adoption
60+
when: prelaunch_barbican_secret | default(false) | bool
6061
- role: neutron_adoption
6162
tags:
6263
- neutron_adoption

tests/roles/barbican_adoption/tasks/main.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
delay: "{{ barbican_retry_delay }}"
9292

9393
- name: check that Barbican secret payload was migrated successfully
94-
when: prelaunch_barbican_secret|default(false)
9594
ansible.builtin.shell: |
9695
{{ shell_header }}
9796
{{ oc_header }}

0 commit comments

Comments
 (0)