Download:
child 14:d63664946e96
parent 12:50c13f88d745
13:b196af59f22e
Anton Shestakov <engored@ya.ru>, Fri, 22 Apr 2016 07:15:57 +0000
(none)

1 файлов изменено, 4 вставок(+), 4 удалений(-) [+]
playbook-example.yml file | annotate | diff | comparison | revisions
--- a/playbook-example.yml Sun Apr 03 13:35:33 2016 +0000
+++ b/playbook-example.yml Fri Apr 22 07:15:57 2016 +0000
@@ -4,10 +4,10 @@
vars:
hostname: mydomain
pre_tasks:
- # NOTE: you probably don't want to run these 3 commands on a real box.
- # Also, to be able to access hgweb from inside the box, you need to use
- # domain name (i.e. http://127.0.0.1/ won't work). Make sure you have DNS
- # records for hg.mydomain or add it to /etc/hosts.
+ # NOTE: you probably don't want to run these commands on a real box. But
+ # bear in mind that to be able to access hgweb from inside the box, you
+ # need to use the virtual host name (i.e. http://127.0.0.1/ won't work).
+ # Make sure you have DNS records for hg.mydomain or add it to /etc/hosts.
- name: Set hostname
hostname: name={{ hostname }}
- name: Update /etc/hosts