11 lines
219 B
YAML
11 lines
219 B
YAML
---
|
|
- name: Ensure nginx is installed.
|
|
pacman:
|
|
name: "{{ nginx_package_name }}"
|
|
state: present
|
|
- name: ensure conf.d exist
|
|
file:
|
|
path: "{{ nginx_conf_path }}"
|
|
state: directory
|
|
notify: reload nginx
|