diff --git a/tasks/nova_db_post_setup.yml b/tasks/nova_db_post_setup.yml index b29ff4e8..d6d4289c 100644 --- a/tasks/nova_db_post_setup.yml +++ b/tasks/nova_db_post_setup.yml @@ -21,7 +21,7 @@ # This needs to be done after Compute hosts are added. - name: Perform a cell_v2 discover - command: "{{ _db_nova_bin }}/nova-manage cell_v2 discover_hosts" + command: "{{ _db_nova_bin }}/nova-manage cell_v2 discover_hosts {{ (debug | bool) | ternary('--verbose', '') }}" become: yes become_user: "{{ _db_nova_system_user_name }}" changed_when: false