xoxys.nginx/tasks/install.yml

10 lines
213 B
YAML

---
- name: Installing nginx repo rpm
yum:
name: http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
- name: Installing nginx
yum:
name: nginx
state: latest