1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-14 09:13:16 +02:00

10 lines
203 B
YAML
Raw Normal View History

2021-12-01 19:13:34 +01:00
---
- name: Update everything
hosts: '*'
tasks:
- yum: name='*' state=latest
when: ansible_os_family == 'RedHat'
- apt: name='*' state=latest
when: ansible_os_family == 'Debian'