diff --git a/tasks/magnum_post_install.yml b/tasks/magnum_post_install.yml index 54db8bc..aa81c67 100644 --- a/tasks/magnum_post_install.yml +++ b/tasks/magnum_post_install.yml @@ -35,6 +35,8 @@ destination: "{{ magnum_etc_directory }}/api-paste.ini" config_overrides: "{{ magnum_api_paste_ini_overrides }}" config_type: "ini" + notify: + - Restart magnum services - name: Download magnum images get_url: diff --git a/tasks/main.yml b/tasks/main.yml index 904815b..faf8218 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -49,15 +49,5 @@ tags: - magnum-config -- name: Restart Magnum Services - service: - name: "{{ item }}" - state: "restarted" - with_items: - - "{{ magnum_api_program_name }}" - - "{{ magnum_conductor_program_name }}" - tags: - - magnum-config - - name: Flush handlers meta: flush_handlers