Anton Shestakov <av6@dwimlabs.net>, Tue, 09 Aug 2016 16:00:33 +0800
playbook: rephrase the first note a bit
playbook-example.yml
Permissions: -rw-r--r--
# NOTE: you probably don't want to run these pre_tasks on a real box. Just # 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). # So make sure you either have DNS records for hg.mydomain or it's in - name: Update /etc/hosts line: '127.0.0.1 {{ hostname }} hg.{{ hostname }}' # NOTE: this role depends on nginx and supervisor packages being installed, # and also it uses two handlers: # This role doesn't have the handlers, so this playbook restarts the # services in post_tasks instead. - name: Disable default Nginx site path: /etc/nginx/sites-enabled/default - name: Install Supervisor - name: Restart Supervisor