Download:
child 26:b5b0e88c2886
parent 24:c978313adae1
25:04213176ca62
Anton Shestakov <av6@dwimlabs.net>, Thu, 04 May 2017 13:10:26 +0800
playbook: note about testing the setup

1 файлов изменено, 5 вставок(+), 0 удалений(-) [+]
playbook-example.yml file | annotate | diff | comparison | revisions
--- a/playbook-example.yml Thu Dec 08 00:22:03 2016 +0800
+++ b/playbook-example.yml Thu May 04 13:10:26 2017 +0800
@@ -54,3 +54,8 @@
name: nginx
state: restarted
...
+# NOTE: how to test that it works correctly (also see the note about DNS):
+# curl -I http://hg.mydomain/
+# will check hgweb pages, look for "200 Script output follows" status
+# curl -I http://hg.mydomain/static/mercurial.js
+# will check serving static files via Nginx, look for "200 OK" status