summaryrefslogtreecommitdiff
path: root/roles/sublab_web/tasks/as_webuser.yaml
blob: 859c1bfe5ac399809c45237c0798b4d1c145a065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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