diff --git a/tasks/nova_compute_kvm_install.yml b/tasks/nova_compute_kvm_install.yml index b8fc1556..b751580b 100644 --- a/tasks/nova_compute_kvm_install.yml +++ b/tasks/nova_compute_kvm_install.yml @@ -48,7 +48,7 @@ - name: Install pip packages (venv) pip: name: "{{ item }}" - state: present + state: latest virtualenv: "{{ nova_venv_bin | dirname }}" virtualenv_site_packages: "no" extra_args: "{{ pip_install_options|default('') }}" @@ -86,7 +86,7 @@ - name: Install pip packages (no venv) pip: name: "{{ item }}" - state: present + state: latest extra_args: "{{ pip_install_options|default('') }}" register: install_packages until: install_packages|success diff --git a/tasks/nova_console_novnc_install.yml b/tasks/nova_console_novnc_install.yml index 5b3f419d..0c2fbd25 100644 --- a/tasks/nova_console_novnc_install.yml +++ b/tasks/nova_console_novnc_install.yml @@ -64,7 +64,7 @@ - name: Install pip packages (venv) pip: name: "{{ item }}" - state: present + state: latest virtualenv: "{{ nova_venv_bin | dirname }}" virtualenv_site_packages: "no" extra_args: "{{ pip_install_options|default('') }}" @@ -83,7 +83,7 @@ - name: Install pip packages (no venv) pip: name: "{{ item }}" - state: present + state: latest extra_args: "{{ pip_install_options|default('') }}" register: install_packages until: install_packages|success diff --git a/tasks/nova_install.yml b/tasks/nova_install.yml index f375f70d..51c7c2ed 100644 --- a/tasks/nova_install.yml +++ b/tasks/nova_install.yml @@ -90,7 +90,7 @@ - name: Install requires pip packages pip: name: "{{ item }}" - state: present + state: latest extra_args: "{{ pip_install_options_fact }}" register: install_packages until: install_packages|success @@ -205,7 +205,7 @@ - name: Install pip packages (venv) pip: name: "{{ item }}" - state: present + state: latest virtualenv: "{{ nova_venv_bin | dirname }}" virtualenv_site_packages: "no" extra_args: "{{ pip_install_options_fact }}" @@ -225,7 +225,7 @@ - name: Install pip packages (no venv) pip: name: "{{ item }}" - state: present + state: latest extra_args: "{{ pip_install_options_fact }}" register: install_packages until: install_packages|success