diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index 2211335a..b80e0233 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -13,12 +13,21 @@ # See the License for the specific language governing permissions and # limitations under the License. +- name: Update apt sources + apt: + update_cache: yes + cache_valid_time: 600 + register: apt_update + until: apt_update|success + retries: 5 + delay: 2 + tags: + - neutron-apt-packages + - name: Install apt packages apt: pkg: "{{ item }}" state: latest - update_cache: yes - cache_valid_time: 600 register: install_packages until: install_packages|success retries: 5