Explorar el Código

Update apt repo and upgrade safe packages

Luke Cyca hace 11 años
padre
commit
7e2ce80a25
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6
    0
      roles/common/tasks/main.yml

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

@@ -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:

Loading…
Cancelar
Guardar