mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-04-22 19:02:10 +00:00
ansible-ci.yml
This commit is contained in:
parent
b59e6befdc
commit
87824114a6
@ -4,6 +4,10 @@
|
|||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
|
- name: Delete last deploy
|
||||||
|
command: rm -rf /var/www/html/*
|
||||||
|
|
||||||
- name: Copy all files to web server
|
- name: Copy all files to web server
|
||||||
synchronize:
|
synchronize:
|
||||||
src: /builds/aviortheking/blog_imie/project/
|
src: /builds/aviortheking/blog_imie/project/
|
||||||
|
@ -157,11 +157,11 @@ DocumentRoot "/var/www/html"
|
|||||||
#
|
#
|
||||||
# Require all granted
|
# Require all granted
|
||||||
|
|
||||||
AuthType Basic
|
#AuthType Basic
|
||||||
AuthName "Restricted Content"
|
#AuthName "Restricted Content"
|
||||||
AuthBasicProvider file
|
#AuthBasicProvider file
|
||||||
AuthUserFile /etc/httpd/passwords
|
#AuthUserFile /etc/httpd/passwords
|
||||||
Require valid-user
|
#Require valid-user
|
||||||
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
18
project/index.html
Normal file
18
project/index.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<title>Site Maintenance</title>
|
||||||
|
<style>
|
||||||
|
body { text-align: center; padding: 150px; }
|
||||||
|
h1 { font-size: 50px; }
|
||||||
|
body { font: 20px Helvetica, sans-serif; color: #333; }
|
||||||
|
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
|
||||||
|
a { color: #dc8100; text-decoration: none; }
|
||||||
|
a:hover { color: #333; text-decoration: none; }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<article>
|
||||||
|
<h1>HIFIVE!</h1>
|
||||||
|
<div>
|
||||||
|
<p>Sorry for the inconvenience but we’re performing some maintenance at the moment. If you need to you can always <a href="mailto:#">contact us</a>, otherwise we’ll be back online shortly!</p>
|
||||||
|
<p>— The Team</p>
|
||||||
|
</div>
|
||||||
|
</article>
|
@ -1,8 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>PHP Test</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<?php echo '<p>Test deploy_to_webserver</p>'; ?>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
x
Reference in New Issue
Block a user