diff options
author | Christian Franke <nobody@nowhere.ws> | 2015-08-28 15:38:36 +0200 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2015-08-28 15:38:36 +0200 |
commit | 1eb35a1e69d9a9f3f43340b9ea46d95bb2c1a0e8 (patch) | |
tree | c2f50624ccf38999896e66c9f270a96ee4cbb5cb /roles/sublab_web/tasks | |
parent | 6474bb9964d8a57b050e597a451fa40a3e5148f0 (diff) |
Add cgit role - git webfrontend
Diffstat (limited to 'roles/sublab_web/tasks')
-rw-r--r-- | roles/sublab_web/tasks/main.yaml | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/roles/sublab_web/tasks/main.yaml b/roles/sublab_web/tasks/main.yaml index 50a2585..0aab602 100644 --- a/roles/sublab_web/tasks/main.yaml +++ b/roles/sublab_web/tasks/main.yaml @@ -31,26 +31,9 @@ - wiki.conf notify: Reload apache -- name: Create SSL DIR - file: - path=/etc/apache2/sites/{{ sublab_web_server_name }}/ssl - state=directory - -- name: Place SSL cert and chain - copy: - src=ssl/{{ sublab_web_server_name }}/{{item}} - dest=/etc/apache2/sites/{{ sublab_web_server_name }}/ssl/{{item}} - with_items: - - cert.pem - - chain.pem - notify: Reload apache - -- name: Place SSL key - copy: - content="{{ssl_keys[sublab_web_server_name]}}" - dest="/etc/apache2/sites/{{sublab_web_server_name}}/ssl/key.pem" - mode=0600 - notify: Reload apache +- include: ../../apache/tasks/ssl.yaml + vars: + ssl_server_name: "{{sublab_web_server_name}}" - name: Create Website group group: name=sublab_web |