ansible-role-nginx/tasks/nginx-rh.yml

8 lines
172 B
YAML

---
- block:
- name: Install the nginx web server
yum: pkg=nginx state={{ nginx_package_state }}
when: ansible_distribution_file_variety == "RedHat"
tags: nginx