Use Ansible collection for some roles, config updates
This commit is contained in:
parent
1fe1ce6bbc
commit
c6802f992e
14 changed files with 21 additions and 70 deletions
|
@ -1,5 +1,5 @@
|
|||
error_page 502 /_error-pages/502.html;
|
||||
error_page 502 /error-pages/502.html;
|
||||
|
||||
location ^~ /_error-pages {
|
||||
location ^~ /error-pages {
|
||||
root /var/www;
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Bad Gateway</title>
|
||||
<link rel="stylesheet" href="/_error-pages/style.css">
|
||||
<link rel="stylesheet" href="/error-pages/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<img src="/_error-pages/bad_gateway.png" alt="Bad Gateway Traffic Sign">
|
||||
<img src="/error-pages/bad_gateway.png" alt="Bad Gateway Traffic Sign">
|
||||
</body>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
- name: create directory
|
||||
file:
|
||||
path: /var/www/_error-pages
|
||||
path: /var/www/error-pages
|
||||
state: directory
|
||||
|
||||
- name: copy error-pages
|
||||
copy:
|
||||
src: error-pages/
|
||||
dest: /var/www/_error-pages/
|
||||
dest: /var/www/error-pages/
|
||||
|
||||
- name: copy error-pages.conf
|
||||
copy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue