ansible-role-apache/tasks/setup-RedHat.yml

9 lines
332 B
YAML
Raw Normal View History

---
2014-11-08 22:10:49 +01:00
- name: Update postfix to the latest version (if extra repositories enabled).
yum: "name=postfix state=latest enablerepo={{ mysql_enablerepo }}"
when: mysql_enablerepo != ""
- name: Ensure MySQL packages are installed.
2014-11-08 22:10:49 +01:00
yum: "name={{ item }} state=installed enablerepo={{ mysql_enablerepo }}"
with_items: mysql_packages