You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ansible-role-nginx/tasks/vhosts_root.yml

12 lines
293 B

---
- name: Ensure managed vhost root directory are present
file:
path: "{{ item.root }}"
state: directory
owner: "{{ nginx_user }}"
group: "{{ nginx_user }}"
mode: 0755
when:
- item.root is defined
- nginx_vhosts_root_create
with_items: "{{ nginx_vhosts }}"