Enable SSL on lists-dev
This commit is contained in:
parent
d04dfc8750
commit
d84d964972
3 changed files with 35 additions and 1 deletions
|
@ -34,7 +34,6 @@
|
|||
- hosts
|
||||
- apache
|
||||
- base
|
||||
- httpd/mod_ssl
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/postfix_basic.yml"
|
||||
|
@ -42,6 +41,22 @@
|
|||
- include: "{{ tasks }}/motd.yml"
|
||||
- include: "{{ tasks }}/mod_wsgi.yml"
|
||||
|
||||
# Basic Apache config
|
||||
- name: install mod_ssl
|
||||
yum: name=mod_ssl state=present
|
||||
|
||||
- name: copy ssl.conf
|
||||
copy: src="{{ files }}/lists-dev/ssl.conf" dest=/etc/httpd/conf.d/ssl.conf
|
||||
owner=root group=root mode=0644
|
||||
notify:
|
||||
- restart httpd
|
||||
|
||||
- name: basic apache virtualhost config
|
||||
template: src="{{ files }}/lists-dev/apache.conf.j2" dest=/etc/httpd/conf.d/lists-dev.conf
|
||||
owner=root group=root mode=0644
|
||||
notify:
|
||||
- restart httpd
|
||||
|
||||
# Database
|
||||
- name: install postgresql server packages
|
||||
yum: name={{ item }} state=present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue