|
|
@@ -65,3 +65,35 @@ |
|
|
|
# get_url: |
|
|
|
# url: http://localhost/postfixadmin/setup.php |
|
|
|
# dest: /var/www/html/postfixadmin-setup-report.html |
|
|
|
|
|
|
|
- name: apache2 default vhost config |
|
|
|
template: |
|
|
|
src: apache2_default_vhost.conf.j2 |
|
|
|
dest: /etc/apache2/sites-available/000-default.conf |
|
|
|
notify: |
|
|
|
- apache2 reload |
|
|
|
|
|
|
|
- name: apache2 default-ssl vhost config |
|
|
|
template: |
|
|
|
src: apache2_default-ssl_vhost.conf.j2 |
|
|
|
dest: /etc/apache2/sites-available/default-ssl.conf |
|
|
|
notify: |
|
|
|
- apache2 reload |
|
|
|
|
|
|
|
- name: apache2 default-ssl vhost enable |
|
|
|
file: |
|
|
|
src: ../sites-available/default-ssl.conf |
|
|
|
dest: /etc/apache2/sites-enabled/default-ssl.conf |
|
|
|
state: link |
|
|
|
notify: |
|
|
|
- apache2 reload |
|
|
|
|
|
|
|
- name: apache2 ssl module enable |
|
|
|
apache2_module: |
|
|
|
name: ssl |
|
|
|
state: present |
|
|
|
notify: |
|
|
|
- apache2 reload |
|
|
|
|
|
|
|
- name: flush handlers |
|
|
|
meta: flush_handlers |