Commit b91d60d3 authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

switch_to_containers: don't set noup flag

We shouldn't set this flag when running switch_to_containers playbook.
Otherwise the playbook fails waiting for pgs to be clean.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1843569

Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
parent 1fe8e819
......@@ -214,6 +214,7 @@
vars:
containerized_deployment: true
osd_group_name: osds
switch_to_containers: True
hosts: "{{ osd_group_name|default('osds') }}"
......
......@@ -43,7 +43,9 @@
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: True
changed_when: False
when: not rolling_update | default(False) | bool
when:
- not rolling_update | default(False) | bool
- not switch_to_containers | default(False) | bool
- name: include container_options_facts.yml
include_tasks: container_options_facts.yml
......@@ -70,6 +72,7 @@
changed_when: False
when:
- not rolling_update | default(False) | bool
- not switch_to_containers | default(False) | bool
- inventory_hostname == ansible_play_hosts_all | last
- name: wait for all osd to be up
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment