Changeset - 19258e57da15
[Not reviewed]
0 3 1
Branko Majic (branko) - 9 years ago 2015-04-07 22:59:42
branko@majic.rs
MAR-4: Adding new host as a dedicated mail server.
4 files changed with 26 insertions and 2 deletions:
0 comments (0 inline, 0 general)
testsite/group_vars/preseed.yml
Show inline comments
 
@@ -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
testsite/hosts
Show inline comments
 
@@ -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
testsite/playbooks/mail.yml
Show inline comments
 
new file 100644
 
---
 

	
 
- hosts: mail
 
  remote_user: ansible
 
  sudo: yes
 
  roles:
 
    - common
 
    - mail_server
testsite/playbooks/site.yml
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)