ansible-thunix/roles/webserver/tasks/apache.yml

45 lines
1.4 KiB
YAML
Raw Normal View History

2018-12-21 14:50:46 +00:00
#This play configs apapche for us
---
2019-01-29 23:47:02 +00:00
- name: Add certbot cron job
copy:
src: ../files/certbot-renew
dest: /etc/cron.weekly/ansible-pull
owner: root
mode: 744
2019-01-29 23:47:02 +00:00
#Sites
- name: Deploy Apache2 Site Config 000-default.conf
copy:
2018-12-21 14:50:46 +00:00
src: ../files/etc/apache2/sites-available/000-default.conf
dest: /etc/apache2/sites-available/000-default.conf
- name: Deploy Apache2 Site Config default-ssl.conf
copy:
2018-12-21 14:50:46 +00:00
src: ../files/etc/apache2/sites-available/default-ssl.conf
dest: /etc/apache2/sites-available/default-ssl.conf
- name: Deploy Apache2 Site Config thunix.cf.conf
copy:
2018-12-21 14:50:46 +00:00
src: ../files/etc/apache2/sites-available/thunix.cf.conf
dest: /etc/apache2/sites-available/thunix.cf.conf
- name: Deploy Apache2 Site Config www.thunix.cf.conf
copy:
2018-12-21 14:50:46 +00:00
src: ../files/etc/apache2/sites-available/www.thunix.cf.conf
dest: /etc/apache2/sites-available/www.thunix.cf.conf
- name: Deploy Apache2 Site Config ftp.thunix.cf.conf
copy:
src: ../files/etc/apache2/sites-available/ftp.thunix.cf.conf
dest: /etc/apache2/sites-available/ftp.thunix.cf.conf
2019-02-10 03:53:27 +00:00
- name: Deploy Apache2 Site Config thunix.net.conf
copy:
src: ../files/etc/apache2/sites-available/thunix.net.conf
dest: /etc/apache2/sites-available/thunix.net.conf
2019-02-10 03:53:27 +00:00
- name: Deploy Apache2 Site Config www.thunix.net.conf
copy:
src: ../files/etc/apache2/sites-available/www.thunix.net.conf
dest: /etc/apache2/sites-available/www.thunix.net.conf