Skip to content

Commit 27bb255

Browse files
committed
Ansible update apt cache
1 parent a942c2e commit 27bb255

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

defaults/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,9 @@ directadmin_ubuntu10_packages:
134134
- libdb-dev
135135
- libsasl2-dev
136136
- libncurses5-dev
137-
# - libsystemd-dev
138137
- bind9
139138
- dnsutils
140139
- quota
141-
# - libsystemd-daemon0
142140
- patch
143141
- libjemalloc-dev
144142
- logrotate
@@ -173,11 +171,9 @@ directadmin_ubuntu12_packages:
173171
- libdb-dev
174172
- libsasl2-dev
175173
- libncurses5-dev
176-
# - libsystemd-dev
177174
- bind9
178175
- dnsutils
179176
- quota
180-
# - libsystemd-daemon0
181177
- patch
182178
- libjemalloc-dev
183179
- logrotate
@@ -213,11 +209,9 @@ directadmin_ubuntu14_packages:
213209
- libdb-dev
214210
- libsasl2-dev
215211
- libncurses5-dev
216-
# - libsystemd-dev
217212
- bind9
218213
- dnsutils
219214
- quota
220-
# - libsystemd-daemon0
221215
- patch
222216
- libjemalloc-dev
223217
- logrotate

tasks/prerequisites-Ubuntu.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
---
2-
- name: Install dependencies for Ubuntu based Debian 6 Squeeze
2+
- name: Update apt cache.
3+
apt: update_cache=true
4+
become: true
5+
6+
- name: Install dependencies for Ubuntu 10.04 Lucid
37
apt:
48
name: "{{ item }}"
59
update_cache: yes
@@ -9,7 +13,7 @@
913
- "{{ directadmin_ubuntu10_packages }}"
1014
when: "ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'lucid'"
1115

12-
- name: Install dependencies for Ubuntu based Debian 7 Wheezy
16+
- name: Install dependencies for Ubuntu 12.04 Precise
1317
apt:
1418
name: "{{ item }}"
1519
update_cache: yes
@@ -19,7 +23,7 @@
1923
- "{{ directadmin_ubuntu12_packages }}"
2024
when: "ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'precise'"
2125

22-
- name: Install dependencies for Ubuntu based Debian 8 Jessie
26+
- name: Install dependencies for Ubuntu 14.04 Trusty
2327
apt:
2428
name: "{{ item }}"
2529
update_cache: yes

0 commit comments

Comments
 (0)