mirror of https://github.com/lucascbeyeler/zimbra
Merge pull request #16 from UdelaRInterior/hosts-file-config
This commit is contained in:
commit
4e39e65ac1
|
|
@ -37,6 +37,8 @@ domain: "localdomain"
|
|||
zmpasswd: "!23Change"
|
||||
zmnetwork: "192.168.200.0/8"
|
||||
timezone: UTC
|
||||
#hosts_lines:
|
||||
# - "198.162.1.3 {{ hostname }}.{{ domain }} {{ hostname }}"
|
||||
|
||||
#
|
||||
# Zimbra configuration
|
||||
|
|
|
|||
|
|
@ -2,6 +2,15 @@
|
|||
#
|
||||
# Download and install Zimbra OSE
|
||||
################################################################################
|
||||
|
||||
- name: Update /etc/hosts
|
||||
lineinfile:
|
||||
path: /etc/hosts
|
||||
line: "{{ item }}"
|
||||
state: present
|
||||
with_items: "{{ hosts_lines }}"
|
||||
when: hosts_lines is defined
|
||||
|
||||
- name: Download and unpacking Zimbra OSE
|
||||
unarchive:
|
||||
validate_certs: no
|
||||
|
|
|
|||
Loading…
Reference in New Issue