Add error-pages role
This commit is contained in:
parent
61b85e2670
commit
6aa994b056
7 changed files with 48 additions and 16 deletions
15
roles/error-pages/tasks/main.yml
Normal file
15
roles/error-pages/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- name: create directory
|
||||
file:
|
||||
path: /var/www/_error-pages
|
||||
state: directory
|
||||
|
||||
- name: copy error-pages
|
||||
copy:
|
||||
src: error-pages/
|
||||
dest: /var/www/_error-pages/
|
||||
|
||||
- name: copy error-pages.conf
|
||||
copy:
|
||||
src: error-pages.conf
|
||||
dest: /etc/nginx/snippets/
|
Loading…
Add table
Add a link
Reference in a new issue