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