Skip to content
Snippets Groups Projects
Commit e8d541d8 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Use apt Ansible module instead of apt-get to update cache"

parents d1b1fd48 12e0c5ae
No related branches found
No related tags found
Loading
--- ---
- name: Update apt cache - name: Update apt cache
command: apt-get update apt:
update_cache: yes
become: True become: True
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
......
...@@ -73,7 +73,8 @@ ...@@ -73,7 +73,8 @@
when: create_kolla_user | bool when: create_kolla_user | bool
- name: Install apt packages - name: Install apt packages
command: apt-get update apt:
update_cache: yes
become: True become: True
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment