Add playbooks/update-yum.yaml
This commit is contained in:
parent
8ff2824588
commit
baceb10b82
8
playbooks/update-yum.yaml
Normal file
8
playbooks/update-yum.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
- hosts: all
|
||||
|
||||
become: true
|
||||
tasks:
|
||||
- name: install updates
|
||||
yum: name=* state=latest update_cache=yes
|
||||
when: ansible_os_family == "RedHat"
|
Loading…
Reference in New Issue
Block a user