--- - name: Put rebuild script template: dest="/var/www/{{sublab_web_server_name}}/website-rebuild.sh" src=website-rebuild.sh.j2 mode=0755 notify: Rebuild subweb website # Updates to git are pushed automatically and should not # go through ansible - this is for initial deployment only - name: Clone sublab website git: dest="/var/www/{{sublab_web_server_name}}/htdocs" repo="git://{{ groups['gitservers'][0] }}/website" accept_hostkey=yes update=no notify: Rebuild subweb website