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

7 lines
195 B
YAML

---
- 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