mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-04 12:23:13 +02:00
10 lines
203 B
YAML
10 lines
203 B
YAML
---
|
|
- name: Update everything
|
|
hosts: '*'
|
|
tasks:
|
|
- yum: name='*' state=latest
|
|
when: ansible_os_family == 'RedHat'
|
|
- apt: name='*' state=latest
|
|
when: ansible_os_family == 'Debian'
|
|
|