setup bind config files in ns.xai-corp.net role
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
---
|
||||
# tasks/main.yml
|
||||
# define tasks here
|
||||
|
||||
- include: vhosts.yml
|
||||
|
||||
15
roles/home.xai-corp.net/tasks/vhosts.yml
Normal file
15
roles/home.xai-corp.net/tasks/vhosts.yml
Normal 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
|
||||
Reference in New Issue
Block a user