mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
8 lines
332 B
YAML
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
|