2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 01:04:03 +00:00
bench/playbooks/develop/roles/nginx/tasks/setup-RedHat.yml
2017-09-04 18:44:23 +05:30

12 lines
237 B
YAML

---
- name: Enable nginx repo.
template:
src: nginx.repo.j2
dest: /etc/yum.repos.d/nginx.repo
owner: root
group: root
mode: 0644
- name: Ensure nginx is installed.
yum: pkg=nginx state=installed enablerepo=nginx