diff --git a/playbooks/update-yum-dima.yaml b/playbooks/update-yum-dima.yaml new file mode 100644 index 0000000..db0f16f --- /dev/null +++ b/playbooks/update-yum-dima.yaml @@ -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" \ No newline at end of file