ansible-role-apache/wordpress-nginx/roles/nginx/tasks/main.yml

8 lines
195 B
YAML
Raw Normal View History

---
- name: Install nginx
yum: name=nginx state=present
- name: Copy nginx configuration for wordpress
template: src=default.conf dest=/etc/nginx/conf.d/default.conf
notify: restart nginx