diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index 9a1b199b..94e402be 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -135,7 +135,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 @@ -250,7 +250,7 @@ - name: Install pip packages (venv) pip: name: "{{ item }}" - state: present + state: latest virtualenv: "{{ neutron_venv_bin | dirname }}" virtualenv_site_packages: "no" extra_args: "{{ pip_install_options_fact }}" @@ -270,7 +270,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 diff --git a/tasks/nuage_neutron_config.yml b/tasks/nuage_neutron_config.yml index 428fa4e3..ad6264aa 100644 --- a/tasks/nuage_neutron_config.yml +++ b/tasks/nuage_neutron_config.yml @@ -15,7 +15,7 @@ - name: Install nuage neutron pip packages (venv) pip: name: "{{ item }}" - state: present + state: latest virtualenv: "{{ neutron_venv_bin | dirname }}" virtualenv_site_packages: "no" retries: 5 @@ -32,7 +32,7 @@ - name: Install nuage neutron pip packages (no venv) pip: name: "{{ item }}" - state: present + state: latest retries: 5 delay: 2 with_items: diff --git a/tasks/plumgrid_config.yml b/tasks/plumgrid_config.yml index 20caa0ab..79c70937 100644 --- a/tasks/plumgrid_config.yml +++ b/tasks/plumgrid_config.yml @@ -35,7 +35,7 @@ - name: Install plumgrid pip packages (venv) pip: name: "{{ item }}" - state: present + state: latest virtualenv: "{{ neutron_venv_bin | dirname }}" virtualenv_site_packages: "no" extra_args: "{{ pip_install_options|default('') }}" @@ -56,7 +56,7 @@ - name: Install plumgrid pip packages fall back (venv) pip: name: "{{ item }}" - state: present + state: latest virtualenv: "{{ neutron_venv_bin | dirname }}" virtualenv_site_packages: "no" extra_args: "--isolated" @@ -77,7 +77,7 @@ - name: Install plumgrid pip packages (no venv) pip: name: "{{ item }}" - state: present + state: latest extra_args: "{{ pip_install_options|default('') }}" register: install_packages until: install_packages|success @@ -96,7 +96,7 @@ - name: Install plumgrid pip packages fall back (no venv) pip: name: "{{ item }}" - state: present + state: latest extra_args: "--isolated" register: install_packages_fall_back until: install_packages_fall_back|success