HIFIVE!
+Sorry for the inconvenience but we’re performing some maintenance at the moment. If you need to you can always contact us, otherwise we’ll be back online shortly!
+— The Team
+diff --git a/.ansible-ci.yml b/.ansible-ci.yml index 59da037..5da9985 100644 --- a/.ansible-ci.yml +++ b/.ansible-ci.yml @@ -4,6 +4,10 @@ become_user: root tasks: + + - name: Delete last deploy + command: rm -rf /var/www/html/* + - name: Copy all files to web server synchronize: src: /builds/aviortheking/blog_imie/project/ diff --git a/ops/ansible/templates/httpd.j2 b/ops/ansible/templates/httpd.j2 index f8982e8..d7dc24d 100644 --- a/ops/ansible/templates/httpd.j2 +++ b/ops/ansible/templates/httpd.j2 @@ -157,11 +157,11 @@ DocumentRoot "/var/www/html" # # Require all granted - AuthType Basic - AuthName "Restricted Content" - AuthBasicProvider file - AuthUserFile /etc/httpd/passwords - Require valid-user + #AuthType Basic + #AuthName "Restricted Content" + #AuthBasicProvider file + #AuthUserFile /etc/httpd/passwords + #Require valid-user diff --git a/project/index.html b/project/index.html new file mode 100644 index 0000000..0c83bb3 --- /dev/null +++ b/project/index.html @@ -0,0 +1,18 @@ + +
Sorry for the inconvenience but we’re performing some maintenance at the moment. If you need to you can always contact us, otherwise we’ll be back online shortly!
+— The Team
+