diff options
Diffstat (limited to 'roles/sublab_web/tasks/as_webuser.yaml')
-rw-r--r-- | roles/sublab_web/tasks/as_webuser.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/sublab_web/tasks/as_webuser.yaml b/roles/sublab_web/tasks/as_webuser.yaml index 44c209a..859c1bf 100644 --- a/roles/sublab_web/tasks/as_webuser.yaml +++ b/roles/sublab_web/tasks/as_webuser.yaml @@ -1,7 +1,17 @@ --- +- 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://git.sublab.org/website accept_hostkey=yes + update=no notify: Rebuild subweb website |