Explorar el Código

updates role

master
padre
commit
d0630f50ec
Se han modificado 2 ficheros con 19 adiciones y 0 borrados
  1. +2
    -0
      defaults/main.yaml
  2. +17
    -0
      tasks/main.yaml

+ 2
- 0
defaults/main.yaml Ver fichero

@@ -0,0 +1,2 @@
---
unattended_upgrades: true

+ 17
- 0
tasks/main.yaml Ver fichero

@@ -0,0 +1,17 @@
---

- name: update apt cache
apt:
update_cache: true
cache_valid_time: 3600

- name: upgrade all packages
apt:
upgrade: dist

- name: unattended-upgrades
apt:
name: unattended-upgrades
when:
- unattended_upgrades
- not ansible_bender is defined

Cargando…
Cancelar
Guardar