From 19258e57da1560e12edeb2c1884e6d1b76360591 2015-04-07 22:59:42 From: Branko Majic Date: 2015-04-07 22:59:42 Subject: [PATCH] MAR-4: Adding new host as a dedicated mail server. --- diff --git a/testsite/group_vars/preseed.yml b/testsite/group_vars/preseed.yml index 31ab18a6043d3d122e6b38233e29df4862ac1e35..a4cc17c11bffb7d80034f7f2fa9192aa2804ed04 100644 --- a/testsite/group_vars/preseed.yml +++ b/testsite/group_vars/preseed.yml @@ -16,6 +16,18 @@ preseed_servers: root_password: root timezone: Europe/Stockholm - name: xmpp.example.com + language: en + country: SE + locale: en_US.UTF-8 + keymap: us + network_interface: eth0 + network_auto: yes + mirror_hostname: ftp.se.debian.org + mirror_directory: /debian + mirror_proxy: "" + root_password: root + timezone: Europe/Stockholm + - name: mail.example.com language: en country: SE locale: en_US.UTF-8 diff --git a/testsite/hosts b/testsite/hosts index 26a4ab994492b95525a110c11ea192f85d638c0c..ea4dbec05230fb641781430ddb939505318155f3 100644 --- a/testsite/hosts +++ b/testsite/hosts @@ -5,4 +5,7 @@ localhost ansible_connection=local ldap.example.com [xmpp] -xmpp.example.com \ No newline at end of file +xmpp.example.com + +[mail] +mail.example.com \ No newline at end of file diff --git a/testsite/playbooks/mail.yml b/testsite/playbooks/mail.yml new file mode 100644 index 0000000000000000000000000000000000000000..87234fdb90d8729bf7d9bf6ddda0e05f48479dc0 --- /dev/null +++ b/testsite/playbooks/mail.yml @@ -0,0 +1,8 @@ +--- + +- hosts: mail + remote_user: ansible + sudo: yes + roles: + - common + - mail_server diff --git a/testsite/playbooks/site.yml b/testsite/playbooks/site.yml index f1c25fe7fb1ec5fb4ba491db11cc01d11474befc..ce92b2a1af4241a1e93d94cd9e3c089a0f78d07e 100644 --- a/testsite/playbooks/site.yml +++ b/testsite/playbooks/site.yml @@ -2,4 +2,5 @@ - include: preseed.yml - include: ldap.yml -- include: xmpp.yml \ No newline at end of file +- include: xmpp.yml +- include: mail.yml \ No newline at end of file