ansible-config/roles/error-pages/tasks/main.yml

16 lines
273 B
YAML
Raw Normal View History

2020-04-08 22:49:09 +02:00
---
- name: create directory
file:
path: /var/www/error-pages
2020-04-08 22:49:09 +02:00
state: directory
- name: copy error-pages
copy:
src: error-pages/
dest: /var/www/error-pages/
2020-04-08 22:49:09 +02:00
- name: copy error-pages.conf
copy:
src: error-pages.conf
dest: /etc/nginx/snippets/