diff options
| author | 2016-08-12 14:16:54 +0200 | |
|---|---|---|
| committer | 2016-08-30 20:22:36 +0200 | |
| commit | 75fe5f620d222bf93993bff9c6b9d012adafc42b (patch) | |
| tree | fdcb11179774d779693ba7cb3a20c31f418a0bed | |
| parent | Fix role nginx (diff) | |
| download | ansible-roles-75fe5f620d222bf93993bff9c6b9d012adafc42b.tar.xz | |
nginx: Be prepared to less cool systems
| -rw-r--r-- | roles/nginx/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml index fe468de..797f6a4 100644 --- a/roles/nginx/tasks/main.yml +++ b/roles/nginx/tasks/main.yml @@ -35,6 +35,14 @@ notify: - restart nginx +- name: Ensure about snippets directory + file: + path: /etc/nginx/snippets + state: directory + owner: root + group: root + mode: 0755 + - name: Deploy snippets template: src: "snippets/{{ item }}.j2" |
