--- - name: Put wiki configuration template: src=ikiwiki.setup.j2 dest="/home/wiki-{{sublab_web_server_name}}/wiki.setup" notify: Rebuild ikiwiki - name: Put wiki rebuild script template: src=ikiwiki-rebuild.sh.j2 dest="/home/wiki-{{sublab_web_server_name}}/ikiwiki-rebuild.sh" mode=0755 notify: Rebuild ikiwiki - name: Create Template dir file: path="/home/wiki-{{sublab_web_server_name}}/templates" state=directory - name: Put editpage template copy: src=ikiwiki-editpage.tmpl dest="/home/wiki-{{sublab_web_server_name}}/templates/editpage.tmpl" # Updates to git are pushed automatically and should not # go through ansible - this is for initial deployment only - name: Clone wiki git git: dest="/home/wiki-{{sublab_web_server_name}}/wiki" repo=git://git.sublab.org/ikiwiki accept_hostkey=yes update=no notify: Rebuild ikiwiki