Ver código fonte

Update apt repo and upgrade safe packages

Luke Cyca 11 anos atrás
pai
commit
7e2ce80a25
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6
    0
      roles/common/tasks/main.yml

+ 6
- 0
roles/common/tasks/main.yml Ver arquivo

@@ -1,6 +1,12 @@
1 1
 ---
2 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 10
 - name: Install necessities and nice-to-haves
5 11
   apt: pkg=$item state=installed
6 12
   with_items:

Carregando…
Cancelar
Salvar