ansible-role-apache/tasks/setup-RedHat.yml
2014-11-08 15:10:49 -06:00

8 lines
332 B
YAML

---
- 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.
yum: "name={{ item }} state=installed enablerepo={{ mysql_enablerepo }}"
with_items: mysql_packages