setup bind config files in ns.xai-corp.net role

This commit is contained in:
2015-09-20 15:41:18 -04:00
parent c639e5dc4b
commit c187c1005c
14 changed files with 380 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
---
# tasks/main.yml
# define tasks here
- include: vhosts.yml

View File

@@ -0,0 +1,15 @@
---
#
# setup the vhosts for apache based websites
- name: fetch existing vhosts
fetch: src=/etc/apache2/vhost-available/{{ item }} dest=backups/
with_items:
- 00_default_ssl_vhost.conf
- 00_default_vhost.conf
- 01_home_vhost.conf
- 02_test_vhost.conf
- 04_sql_vhost.conf
- 05_mail_vhost.conf
- default_vhost.include