|
@@ -9,6 +9,10 @@
|
|
- which
|
|
- which
|
|
when: ansible_os_family == 'RedHat'
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
|
|
|
+ - name: Update apt cache.
|
|
|
|
+ apt: update_cache=yes
|
|
|
|
+ when: ansible_os_family == 'Debian'
|
|
|
|
+
|
|
- name: Ensure build dependencies are installed (Debian).
|
|
- name: Ensure build dependencies are installed (Debian).
|
|
apt: 'name="{{ item }}" state=installed'
|
|
apt: 'name="{{ item }}" state=installed'
|
|
with_items:
|
|
with_items:
|