Browse Source

Update apt repo and upgrade safe packages

Luke Cyca 11 years ago
parent
commit
7e2ce80a25
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      roles/common/tasks/main.yml

+ 6
- 0
roles/common/tasks/main.yml View File

1
 ---
1
 ---
2
 # Defines tasks applicable across all machines in the infrastructure.
2
 # Defines tasks applicable across all machines in the infrastructure.
3
 
3
 
4
+- name: Update apt cache
5
+  apt: update_cache=yes
6
+
7
+- name: Upgrade all safe packages
8
+  apt: upgrade=safe
9
+
4
 - name: Install necessities and nice-to-haves
10
 - name: Install necessities and nice-to-haves
5
   apt: pkg=$item state=installed
11
   apt: pkg=$item state=installed
6
   with_items:
12
   with_items:

Loading…
Cancel
Save